3 Answers, 1 is accepted
0
Hello Shawn,
You can use a FluidContentControl for the headers as well as the content - no problem about that. Simply put a FluidContentControl in the header of each tile and set the proper thresholds (or, alternatively, change the visible content manually when the tile state changes).
Kind regards,
Tihomir Petkov
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
You can use a FluidContentControl for the headers as well as the content - no problem about that. Simply put a FluidContentControl in the header of each tile and set the proper thresholds (or, alternatively, change the visible content manually when the tile state changes).
Kind regards,
Tihomir Petkov
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
David
Top achievements
Rank 1
answered on 08 Feb 2010, 03:22 AM
I've tried doing what you described in several different ways but no matter what combination I did, the header content would never change. It was almost as if the RadFluidContentControl was looking for the header's size to change instead of the RadTileViewItem and therefore would never trigger.
I was able to find a workaround for my problem by setting the header's RadFluidContentControl to Manual and binding the State to that of the primary content.
Was there another/better way to do this?
Thanks,
Shawn
I was able to find a workaround for my problem by setting the header's RadFluidContentControl to Manual and binding the State to that of the primary content.
Was there another/better way to do this?
Thanks,
Shawn
<telerik:RadTileView MinimizedColumnWidth="150"> |
<telerik:RadTileViewItem> |
<telerik:RadTileViewItem.Header> |
<telerik:RadFluidContentControl ContentChangeMode="Manual" State="{Binding ElementName=PrimaryControl, Path=State}"> |
<telerik:RadFluidContentControl.SmallContent> |
<Label Content="Small Content"/> |
</telerik:RadFluidContentControl.SmallContent> |
<telerik:RadFluidContentControl.Content> |
<Label Content="Medium Content"/> |
</telerik:RadFluidContentControl.Content> |
<telerik:RadFluidContentControl.LargeContent> |
<Label Content="Large Content"/> |
</telerik:RadFluidContentControl.LargeContent> |
</telerik:RadFluidContentControl> |
</telerik:RadTileViewItem.Header> |
<telerik:RadFluidContentControl x:Name="PrimaryControl"> |
<telerik:RadFluidContentControl.SmallContent> |
<Label Content="Small Content"/> |
</telerik:RadFluidContentControl.SmallContent> |
<telerik:RadFluidContentControl.Content> |
<Label Content="Medium Content"/> |
</telerik:RadFluidContentControl.Content> |
<telerik:RadFluidContentControl.LargeContent> |
<Label Content="Large Content"/> |
</telerik:RadFluidContentControl.LargeContent> |
</telerik:RadFluidContentControl> |
</telerik:RadTileViewItem> .... |
0
Hello Shawn,
The problem with the code snippet you sent is that you haven't set proper thresholds that would determine when the visible content of the FluidContentControl that is in the Content property of your TileViewItem (PrimaryControl) should be changed. If you set proper thresholds (this would be determined by the exact dimensions of your application) everything should be ok.
Let me know how it goes.
Sincerely yours,
Tihomir Petkov
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
The problem with the code snippet you sent is that you haven't set proper thresholds that would determine when the visible content of the FluidContentControl that is in the Content property of your TileViewItem (PrimaryControl) should be changed. If you set proper thresholds (this would be determined by the exact dimensions of your application) everything should be ok.
Let me know how it goes.
Sincerely yours,
Tihomir Petkov
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.