Find frameworkelement in SelectionAdornmentTemplat

Hi All

How to find FrameWorkElement( "Button") in selectionAdornmentTemplate of node
Thanks & Regards
Udaiveer

The StateChart sample demonstrates that – there is a Button inside the custom SelectionAdornmentTemplate for each node.

If you want to manipulate the Button in code, I suggest you give the element an x:Name and then use Part.FindNamedDescendant on the Adornment to get the Button.