Quantcast
Viewing all articles
Browse latest Browse all 1083

Get ItemsPanelTemplate object from ItemsControl in C# code.

How can we get ItemsPanelTemplate  object  from ItemsControl in  C# code.

<ItemsControl x:Name="itemsControl"  >            <ItemsPanelTemplate>                <WrapPanel x:Name="wrapPanel"  ></WrapPanel>            </ItemsPanelTemplate>        </ItemsControl>

I am trying to get wrapPanel reference . So far i can not find any solution. Please let me know if you have any ideas.

Thankyou


Viewing all articles
Browse latest Browse all 1083

Trending Articles