I'm dynamically creating multiple expandable panel in silverlight. Every panel contains textbox. I need to bind this textbox
to parent expandable panel header
property.
How to do it dynamically?
I'm dynamically creating multiple expandable panel in silverlight. Every panel contains textbox. I need to bind this textbox
to parent expandable panel header
property.
How to do it dynamically?
<Textbox.Text="{Binding Path=Header RelativeSource={RelativeSource Mode="FindAncestor" AncestorType="{x:Type ExpandablePanel}}}"/>