My scenario is the same explaine in a previous post:
I am binding the itemsSource to my viewmodel and I need to bind the TitleState as well. I have a button inside the control that should trigger the tilestate to change, but I need to handle this in my viewmodel.
Also I would like to disable the tresholds, in other words, I just want the control to have 3 states and be independent of the size of the control.
Sample code:
<telerikNavigation:RadTileView Visibility="{Binding TilesViewVisibility}" ItemsSource="{Binding Items}" x:Name="rtvEmployees">
<telerikNavigation:RadTileView.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding FullName}" />
</DataTemplate>
</telerikNavigation:RadTileView.ItemTemplate>
<telerikNavigation:RadTileView.ItemContainerStyle>
<Style TargetType="telerikNavigation:RadTileViewItem">
<Setter Property="TileState" Value="{Binding TileState}" />
</Style>
</telerikNavigation:RadTileView.ItemContainerStyle>
<telerikNavigation:RadTileView.ContentTemplate>
<DataTemplate>
<Views:EmployeeView />
</DataTemplate>
</telerikNavigation:RadTileView.ContentTemplate>
</telerikNavigation:RadTileView>
Thanks,
Jesus