I got TileView with TileView bound to my ViewModel for Tiles like this
<telerikNavigation:RadTileView x:Name="ContentTileView" Grid.Row="1"
MinWidth="{Binding ContainerMinWidth}"
MinimizedItemsPosition="{Binding MinimizedItemPosition}"
IsItemsAnimationEnabled="{Binding IsAnimantionEnabled}"
MinHeight="{Binding ContainerMinHeight}"
MaxColumns="{Binding WidgetColumns}"
MinimizedColumnWidth="{Binding MinimizedWidth}"
MinimizedRowHeight="{Binding MinimizedHeight}"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
ItemsSource="{Binding Widgets}"></telerikNavigation:RadTileView>
MinWidth and MinHeight of TileView are calculated based on number of items.
TileView Content Template is like<telerikNavigation:RadTileView.ContentTemplate>Everything seem to work but there is one problem at random times.
<DataTemplate>
<telerik:RadFluidContentControl DataContext="{Binding}"
SmallToNormalThreshold="200,0"
NormalToSmallThreshold="180,0">
<telerik:RadFluidContentControl.Content>
<ContentControl Content="{Binding WidgetContent}"
HorizontalAlignment="Stretch"
HorizontalContentAlignment="Stretch"
VerticalAlignment="Stretch"
VerticalContentAlignment="Stretch" />
</telerik:RadFluidContentControl.Content>
<telerik:RadFluidContentControl.SmallContent>
<ContentControl Content="{Binding SmallWidetContent}"
HorizontalAlignment="Stretch"
HorizontalContentAlignment="Stretch"
VerticalAlignment="Stretch"
VerticalContentAlignment="Stretch">
</ContentControl>
</telerik:RadFluidContentControl.SmallContent>
</telerik:RadFluidContentControl>
</DataTemplate>
</telerikNavigation:RadTileView.ContentTemplate>
For a particular TileViewItem the Small and Normal content seem to flip every half second or
so giving it a flickering affect.
The strange thing is that it only happens to a particular tiles and doesn't affect any other tile.
Also sometime it happens when I maximize a particular Tile or restore that particualr tile.
The Tile which cause problem has got a RadGridView as normal and TextBlock as small content in it
(some other tileviews got RadGridView as well but they seem to work correctly).
I've fixed the problem by setting ContentChangeMode of FluidContentcontrol to manual
but would like to know if there is anything I am doing wrong in automatic mode
which result in the problem.
Regards,
Qaiser.