Updating the font size of the Title

2 posts, 0 answers
  1. Varghese
    Varghese avatar
    25 posts
    Member since:
    May 2011

    Posted 14 Sep 2013 Link to this post

    I'm able to change the fontsize of the counter of a radhubtile, but I can't change the fontsize of the title. Here is the code I have used:

    <Style TargetType="telerikPrimitives:RadHubTile">
        <Setter Property="FontSize" Value="9"></Setter>
    </Style>
  2. Todor
    Admin
    Todor avatar
    778 posts

    Posted 18 Sep 2013 Link to this post

    Hello Varghese,

    Thank you for writing.

    The font size of the Title and the font size of the Count are different and applying a new font size through style changes only the font size of the Count as you have correctly observed.

    If you need to change the size of another element of the hub tile, you need to edit its ControlTemplate.

    You can easily extract the default style by choosing Edit Template -> Edit a Copy after you right-click the HubTile in VisualStudio's designer. Then you can locate the element named "PART_Title" in the extracted style and change its properties according to your preferences.

    I hope this information helps.
     
    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
Back to Top