Windows Explorer enables user to choose between different ways of listing files (Details, List, Icons...).
I defined a few datatemplates
<DataTemplate DataType="{x:Type local:FileData}"> //List of files - details</DataTemplate><DataTemplate DataType="{x:Type local:FileData}"> //List files as small icons</DataTemplate>but I need direction how do I select one according to button press? Thanks!