Telerik BaseOn HowTo

1 posts, 0 answers
  1. Oliver
    Oliver avatar
    263 posts
    Member since:
    Feb 2011

    Posted 15 Jun 2012 Link to this post

    Hi,

    in my project I use the OfficeBlue Telerik theme. I want to customize my StatusBar base on my Telerik theme.

    Actually I have CustomStyles.xaml and I want to use some Telerik resource keys instead of their corresponding
    value but I don't know to do it, here is my XAML file:

    <ResourceDictionary
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
      
        <Style TargetType="StatusBar">       
            <Setter Property="StatusBar.BorderThickness" Value="1" />
            <Setter Property="StatusBar.Background">
                <Setter.Value>               
                    <SolidColorBrush Color="#FFE2F0FD" /> <!--Telerik: Key="ControlBackground_Disabled"-->
                </Setter.Value>
            </Setter>
           
            <Setter Property="StatusBar.BorderBrush">
                <Setter.Value>
                    <SolidColorBrush Color="#FF9BB0CD" /> <!--Telerik: Key="ControlOuterBorder_Disabled"-->               
                </Setter.Value>
            </Setter>       
        </Style>

    </ResourceDictionary>

Back to Top