wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulerviewbase-a85be7b9.md
Gets or sets a style applied to resource headers within the View. This is a dependency property.
Namespace : DevExpress.Xpf.Scheduling
Assembly : DevExpress.Xpf.Scheduling.v25.2.dll
NuGet Package : DevExpress.Wpf.Scheduling
public Style ResourceHeaderStyle { get; set; }
Public Property ResourceHeaderStyle As Style
| Type | Description |
|---|---|
| Style |
A style applied to resource headers within the View.
|
Use the SchedulerViewBase.ResourceHeaderStyle property to customize resource headers’ appearance.
The code sample below shows how to make resource headers horizontal in TimelineView:
xmlns:dxschv="http://schemas.devexpress.com/winfx/2008/xaml/scheduling/visual"
<dxsch:TimelineView.ResourceHeaderStyle>
<Style TargetType="dxschv:ResourceHeaderControl">
<Setter Property="ContentOrientation" Value="Horizontal" />
</Style>
</dxsch:TimelineView.ResourceHeaderStyle>
The image below illustrates the result.
Use the SchedulerViewBase.ResourceHeaderContentTemplate property to provide a custom resource header content template.
See Also