I want to change the visibility of annotations in .cs file
MyLine.Visibility = System.Windows.Visibility.Hidden;
where MyLine is an annotation
s:LineArrowAnnotation x:Name=”MyLine” X1=”1″ Y1=”0″ X2=”1000″ Y2=”0″ Stroke=”Black” StrokeThickness=”1″ Visibility=”Visible” StrokeDashArray=”10,5″
However even after changing it to hidden the line still displays,
Any suggestions are appreciated..
PS: I am able to modify the location with no problem at all..
Please login first to submit.