Change header label

2 posts, 0 answers
  1. Christophe
    Christophe avatar
    1 posts
    Member since:
    Mar 2013

    Posted 10 Nov 2013 Link to this post

    Hello, I have a problem when the theme is light. I have ad in app.xaml.cs this :

    <Style TargetType="telerikPrimitives:RadToggleSwitch">
                <Setter Property="Foreground" Value="White"/>
    But how change the header style ?

    Thanks !


  2. Todor
    Todor avatar
    772 posts

    Posted 12 Nov 2013 Link to this post


    Thank you for writing.

    You can use the HeaderStyle property in order to apply a custom style for the header. This is the default style:

    <Style x:Key="CustomHeaderStyle" TargetType="ContentControl">
        <Setter Property="Foreground" Value="{StaticResource PhoneSubtleBrush}"/>
        <Setter Property="FontSize" Value="{StaticResource PhoneFontSizeNormal}"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>

    You can start from there, apply your modifications and set this style through the HeaderStyle propery in RadToggleSwitch.

    Let me know if you need additional assistance.
    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