Articles in this section
Category / Section

How to style the Scheduler header in WPF (Calendar)

1 min read

You can customize the header appearance of the scheduler by using the SchedulerHeaderControl in WPF SfScheduler. You can change the background color, FontStyle, and BorderBrush etc. by tragetting the style for SchedulerHeaderControl

XAML

You can customize the header appearance of the scheduler by setting the style property for SchedulerHeaderControl

<Window.Resources>
        <Style TargetType="syncfusion:SchedulerHeaderControl">
            <Setter Property="Background" Value="LightCyan"/>
            <Setter Property="Foreground" Value="Red"/>
            <Setter Property="FontStyle" Value="Italic"/>
            <Setter Property="BorderBrush" Value="LightCoral"/>
            <Setter Property="BorderThickness" Value="2"/>
        </Style>
    </Window.Resources>
<Grid>
        <syncfusion:SfScheduler 
        x:Name="Schedule" 
        ViewType="Month" >
        </syncfusion:SfScheduler>
</Grid> 

View sample in GitHub

Demo image for Header styling

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied