ListView.ColumnStyleSubject Property

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

Namespace: DevExpress.Xpf.Scheduling

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

Declaration

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

Property Value

Type Description
Style

A Style object that represents a style to be applied to the Subject 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.ColumnStyleSubject>
        <Style BasedOn="{StaticResource {dxscht:ListViewGridThemeKey ResourceKey=GridColumn_Subject}}" TargetType="dxg:GridColumn">
            <Setter Property="Header" Value="Custom Header"/>
        </Style>
    </dxsch:ListView.ColumnStyleSubject>
</dxsch:ListView>
See Also