Notifications
Clear all

[Closed] How to get Template content of a listview itemsPanelTemplate

Hi everyone!

I currently working on internal tool for team where i work.
i have my UI define in a Xaml then i parse with dotNet.

I looking for access to a style template but i missed something.

That’s the parsed xaml code:

    <ListView Name="_ListView">
        <ListView.ItemsPanel>
            <ItemsPanelTemplate>
                <WrapPanel Name="_ListViewPanel" Orientation="Horizontal"/>
            </ItemsPanelTemplate>
        </ListView.ItemsPanel>
    </ListView>

Then in my script, i can get the _ListView.ItemsPanel.Template properties, by i don’t have any properties for that. I don’t know how tu use it… What i want, is to get access to the WrapPanel object.

Someone know how that’s possible?
Regards,