Hi, there
I want to change Datepicker's MonthView Header,
I am trying to change background of contentcontrol but it doesn't make any changes to my control. I could find proper property to change. If someone could help me ? Thanks in advance.
<RadInput:RadDatePicker.MonthViewStyle>
<Style TargetType="RadControl:CalendarView">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="RadControl:CalendarView" >
<Grid Background="White">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<ContentControl Visibility="{TemplateBinding HeaderVisibility}"
Content="{TemplateBinding Header}"
Foreground="Black"
TextBlock.TextAlignment="Center"
Margin="0 2 0 2" />
<!--Alternate rows and highlight -->
<Grid Grid.Row="1">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="6*" />
</Grid.RowDefinitions>
<Border
BorderBrush="Black"
BorderThickness="0 0 0 1"
Background="Blue" />
</Grid>
<ItemsPresenter Grid.Row="1" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</RadInput:RadDatePicker.MonthViewStyle>