Back to Devexpress

ListView.ColumnStyleLocation Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-listview-bd780cd7.md

latest1.8 KB
Original Source

ListView.ColumnStyleLocation Property

Gets or sets the style of the Location 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

Declaration

csharp
public Style ColumnStyleLocation { get; set; }
vb
Public Property ColumnStyleLocation As Style

Property Value

TypeDescription
Style

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

|

Remarks

Target Type : GridColumn

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

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

See Also

ListView Class

ListView Members

DevExpress.Xpf.Scheduling Namespace