I am trying to apply a Theme to the DatePicker control but I also want to hide the week numbers in the calendar pop-up. This is the code
<Window x:Class="WPF_RadDateTimePicker.MainWindow" 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" xmlns:local="clr-namespace:WPF_RadDateTimePicker" Title="MainWindow" Height="350" Width="525"> <Window.Resources> <Style x:Key="calendarStyle" TargetType="telerik:RadCalendar"> <Setter Property="AreWeekNumbersVisible" Value="False" /> </Style> </Window.Resources> <StackPanel> <telerik:RadDateTimePicker Width="100" VerticalAlignment="Center" CalendarStyle="{StaticResource calendarStyle}" telerik:StyleManager.Theme="Expression_Dark"/> </StackPanel> </Window>
As soon as I reffer to the static calendarStyle the Expression_Dark theme is no longer correctly applied to the Calendar control
otherwise works fine. How can I fix this?? ( I using 2010 Q3 version of the product)