I have a few question about RadTileView control:
1. I want to add scroll for minimized items (according to this post: http://blogs.telerik.com/blogs/posts/10-07-19/what_s_new_in_telerik_tileview_control_for_silverlight_wpf.aspx )
I added MinimizedHeight in RadTileViewItemStyle (see attached screenshot "MinimizedHeight.jpg") – but there are still no scroll, and Small Content is cut off in the bottom (see attached "sample.jpg")
2. Is it possible to replace Minimize and Maximize icons (that switches between views) to different images?
3. I want to add close icon to RadTileViewItem, but I cannot align it to the right. Is it possible to put "x" icon before minimize\maximize icon? (red "x" on the "sample.jpg" screenshot)
4. I get an error that "Content is set more than one time" (see attached "ContentError.jpg).
5. How can we control the order of the items on the screen. We would like to let our users to arrange the items according to their preferences and we should be able to store the order of the items and place them in the right order next time the user login to our site. Can it be done?
This is the Xaml:
<UserControl xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
x:Class="VoyantHealth.VoyantFlow.UI.Controls.ViewControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:vfui="clr-namespace:VoyantHealth.VoyantFlow.UI.Controls"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
xmlns:telerikAnimation="clr-namespace:Telerik.Windows.Controls.Animation;assembly=Telerik.Windows.Controls"
xmlns:local="clr-namespace:VoyantHealth.VoyantFlow.UI.Controls"
xmlns:localUC="clr-namespace:VoyantHealth.VoyantFlow.UI.ImagesXaml"
d:DesignHeight="400"
d:DesignWidth="400"
mc:Ignorable="d">
<UserControl.Resources>
<local:LocationStatusValueConverter x:Key="locationStatusValueConverter" />
<local:LocationStyleSelector x:Key="locationStyleSelector" />
<local:AgentLockStatusImageConverter x:Key="agentLockStatusImageConverter" />
</UserControl.Resources>
<Grid x:Name="LayoutRoot"
Background="White">
<telerikNavigation:RadTileView Name="SiteView" ItemContainerStyleSelector="{StaticResource locationStyleSelector}">
<telerikNavigation:RadTileView.ItemTemplate>
<!--Header-->
<DataTemplate>
<Grid Margin="3">
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
</Grid.ColumnDefinitions>
<!-- Locked-Unlocked icon -->
<ContentControl Grid.Column="0" Grid.Row="0" Margin="1,0,7,0" VerticalAlignment="Top" HorizontalAlignment="Left"
Content="{Binding Converter={StaticResource agentLockStatusImageConverter}}" />
<StackPanel Grid.Row="0" Grid.Column="1" Orientation="Vertical">
<TextBlock Text="{Binding Path=Location.Name}" Style="{StaticResource HeaderTitle}" />
<TextBlock Text="Image Ready" Style="{StaticResource ItalicWhite}" />
</StackPanel>
</Grid>
</DataTemplate>
</telerikNavigation:RadTileView.ItemTemplate>
<telerikNavigation:RadTileView.ContentTemplate>
<DataTemplate>
<telerik:RadFluidContentControl telerikAnimation:AnimationManager.IsAnimationEnabled="True">
SmallToNormalThreshold="291, 132"
NormalToSmallThreshold="291, 132"
NormalToLargeThreshold="600, 600"
LargeToNormalThreshold="600, 600">
<!-- Small -->
<telerik:RadFluidContentControl.SmallContent>
<Grid DataContext="{Binding}">
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
<RowDefinition Height="25"></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition></ColumnDefinition>
</Grid.ColumnDefinitions>
<ScrollViewer HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Auto" BorderThickness="0">
<vfui:PatientDetailsUC Grid.Row="0" Grid.Column="0" DataContext="{Binding}"></vfui:PatientDetailsUC>
</ScrollViewer>
<!--Footer Status-->
<Grid Grid.Row="1" Grid.Column="0" VerticalAlignment="Bottom">
<Rectangle Style="{StaticResource RectangleBlue}"></Rectangle>
<TextBlock Text="{Binding Path=Location.LocationStatus, Converter={StaticResource locationStatusValueConverter}, Mode=OneWay}"
Margin="10,0,5,2"
Style="{StaticResource White}"
VerticalAlignment="Center"
HorizontalAlignment="Left"></TextBlock>
</Grid>
</Grid>
</telerik:RadFluidContentControl.SmallContent>
<!-- Normal -->
<telerik:RadFluidContentControl.Content>
<Grid>
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
<RowDefinition Height="25"></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition></ColumnDefinition>
</Grid.ColumnDefinitions>
<ScrollViewer HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Auto" BorderThickness="0">
<vfui:PatientDetailsUC Grid.Row="0" Grid.Column="0" DataContext="{Binding}"></vfui:PatientDetailsUC>
</ScrollViewer>
<!--Footer Status-->
<Grid Grid.Row="1" Grid.Column="0" VerticalAlignment="Bottom">
<Rectangle Style="{StaticResource RectangleBlue}"></Rectangle>
<TextBlock Text="{Binding Path=Location.LocationStatus, Converter={StaticResource locationStatusValueConverter}, Mode=OneWay}"
Margin="10,0,5,2"
Style="{StaticResource White}" VerticalAlignment="Center"
HorizontalAlignment="Left"></TextBlock>
</Grid>
</Grid>
</telerik:RadFluidContentControl.Content>
<!-- Large -->
<telerik:RadFluidContentControl.LargeContent>
<Grid DataContext="{Binding}">
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
<RowDefinition Height="25"></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition></ColumnDefinition>
</Grid.ColumnDefinitions>
<ScrollViewer HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Auto" BorderThickness="0">
<vfui:PatientDetailsUC Grid.Row="0" Grid.Column="0" HorizontalAlignment="Stretch" DataContext="{Binding}"></vfui:PatientDetailsUC>
</ScrollViewer>
<!--Footer Status-->
<Grid Grid.Row="1" Grid.Column="0" VerticalAlignment="Bottom">
<Rectangle Style="{StaticResource RectangleBlue}"></Rectangle>
<TextBlock Text="{Binding Path=Location.LocationStatus, Converter={StaticResource locationStatusValueConverter}, Mode=OneWay}"
Margin="10,0,5,2"
Style="{StaticResource White}"
VerticalAlignment="Center"
HorizontalAlignment="Left"></TextBlock>
</Grid>
</Grid>
</telerik:RadFluidContentControl.LargeContent>
</telerik:RadFluidContentControl>
</DataTemplate>
</telerikNavigation:RadTileView.ContentTemplate>
</telerikNavigation:RadTileView>
</Grid>
</UserControl>
Thank you,
Marina