wpf-devexpress-dot-xpf-dot-scheduling-dot-listview-00f0cf07.md
Gets or sets the style of the Duration column in the List View. This is a dependency property.
Namespace : DevExpress.Xpf.Scheduling
Assembly : DevExpress.Xpf.Scheduling.v25.2.dll
NuGet Package : DevExpress.Wpf.Scheduling
public Style ColumnStyleDuration { get; set; }
Public Property ColumnStyleDuration As Style
| Type | Description |
|---|---|
| Style |
A Style object that represents a style to be applied to the Duration column.
|
Target Type : GridColumn
The code snippet below illustrates a custom style that changes the header text.
<dxsch:ListView x:Name="listView">
<dxsch:ListView.ColumnStyleDuration>
<Style BasedOn="{StaticResource {dxscht:ListViewGridThemeKey ResourceKey=GridColumn_Duration}}" TargetType="dxg:GridColumn">
<Setter Property="Header" Value="Custom Header"/>
</Style>
</dxsch:ListView.ColumnStyleDuration>
</dxsch:ListView>
See Also