This is a migrated thread and some comments may be shown as answers.

image in Tileview

1 Answer 93 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Rick Mueller
Top achievements
Rank 1
Rick Mueller asked on 05 Oct 2010, 04:10 PM
Is possible to put a image in the Item Header?

Regards,
Rick Mueller

1 Answer, 1 is accepted

Sort by
0
Alex Fidanov
Telerik team
answered on 07 Oct 2010, 01:15 PM
Hello Rick Mueller,

You can insert an image in the TileViewItem's header by modifying its HeaderTemplate.
The code snippet below shows one way to achieve this. Please let me know if that is what you are looking for :
           <telerik:RadTileView>
           <telerik:RadTileViewItem Header="tile one">
               <telerik:RadTileViewItem.HeaderTemplate>
                   <DataTemplate>
                       <StackPanel Orientation="Horizontal">
                           <Image Source="Icon.png" Height="32"/>
                           <ContentPresenter Content="{Binding}" HorizontalAlignment="Right"/>
                       </StackPanel>
                   </DataTemplate>
               </telerik:RadTileViewItem.HeaderTemplate>
           </telerik:RadTileViewItem>
       </telerik:RadTileView>

Greetings,
Alex Fidanov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TileView
Asked by
Rick Mueller
Top achievements
Rank 1
Answers by
Alex Fidanov
Telerik team
Share this question
or