TitleTemplate

4 posts, 1 answers
  1. bento
    bento avatar
    35 posts
    Member since:
    Aug 2013

    Posted 19 Oct 2013 Link to this post

    Latest Q3 2013, I can use and display Title of RadSlideHubTile using 

    <telerikPrimitives:RadSlideHubTile Title="{Binding Name}" />

    But cannot use TitleTemplate, it is not display anything. Can you try it ?

    Thanks.
  2. Todor
    Admin
    Todor avatar
    778 posts

    Posted 23 Oct 2013 Link to this post

    Hello Benyamin,

    Thank you for writing.

    I'm not sure I understand exactly what you need to achieve. The TitleTemplate is a property of type DataTemplate which allows you to define a template for the Title. Here's an example. If you want to display an icon next to the title, you can define the following TitleTemplate:

    <telerikPrimitives:RadSlideHubTile Title="Me">
        <telerikPrimitives:RadSlideHubTile.TitleTemplate>
            <DataTemplate>
                <StackPanel VerticalAlignment="Bottom" Orientation="Horizontal">
                    <Image Stretch="None" Source="Images/Stopwatch.png"/>
                    <TextBlock Margin="12,0,0,0" Text="{Binding}" />
                </StackPanel>
            </DataTemplate>
        </telerikPrimitives:RadSlideHubTile.TitleTemplate>
    </telerikPrimitives:RadSlideHubTile>

    If you have the correct image in the Images folder, you will get the result from the attached image.

    If you need further assistance, don't hesitate to write us back.
     
    Regards,
    Todor
    Telerik
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
  3. DevCraft banner
  4. bento
    bento avatar
    35 posts
    Member since:
    Aug 2013

    Posted 24 Oct 2013 Link to this post

    Hi Todor,

    I attached a sample project on Support Ticket. 

    Thanks.
  5. Answer
    Todor
    Admin
    Todor avatar
    778 posts

    Posted 25 Oct 2013 Link to this post

    Hi Benyamin,

    I have responded to your support ticket.
     
    Regards,
    Todor
    Telerik
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Back to Top
DevCraft banner