ListView.ColumnStyleResource Property

Gets or sets the style of the Resource column in the List View. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v20.1.dll

Declaration

public Style ColumnStyleResource { get; set; }
Public Property ColumnStyleResource As Style

Property Value

Type Description
Style

A Style object that represents a style to be applied to the Resource column.

Remarks

Target Type: GridColumn

The code snippet below illustrates a custom style that changes the header text.

<dxsch:ListView x:Name="listView">
    <dxsch:ListView.ColumnStyleResource>
        <Style BasedOn="{StaticResource {dxscht:ListViewGridThemeKey ResourceKey=GridColumn_Resource}}" TargetType="dxg:GridColumn">
            <Setter Property="Header" Value="Custom Header"/>
        </Style>
    </dxsch:ListView.ColumnStyleResource>
</dxsch:ListView>
See Also