How to find the Tag in XAML data.

Posted by Kundan64 under Silverlight on 1/8/2013 | Points: 10 | Views : 1129 | Status : [Member] | Replies : 0
I have XAML code like:
 <Canvas>                                       
<Canvas>
<Polygon Points="9714,2 2,2 2,866 9714,866 9714,2" Fill="#FF638EAA" Stroke="Black" StrokeThickness="5" StrokeStartLineCap="Round" StrokeEndLineCap="Round" StrokeDashCap="Round" StrokeLineJoin="Round"/>
<Polygon Points="9330,2 386,2 386,866 9330,866 9330,2" Fill="#FF638EAA" Stroke="Black" StrokeThickness="5" StrokeStartLineCap="Round" StrokeEndLineCap="Round" StrokeDashCap="Round" StrokeLineJoin="Round"/>
</Canvas>
<Canvas>
<Polyline Points="9170,865 9170,144 9169,142,148 1171,151 1170,155 1170,863 1170,865" Stroke="Black" StrokeThickness="5" StrokeStartLineCap="Round" StrokeEndLineCap="Round" StrokeDashCap="Round" StrokeLineJoin="Round"/>
</Canvas>
</Canvas>


I want to find the tag at runtime (XAML content is dynamic) like :
Canvas
Canvas
Polygon
Polygon
Canvas
Polygon




Responses

(No response found.)

Login to post response