ListView.GridControlStyle Property

Gets or sets the style applied to the GridControl object used by the view. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

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


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

Property Value

Type Description

A Style object that represents a style to be applied to the grid control used by the view.


Target Type: GridControl.

The code snippet below illustrates a custom style that applies a filter.

    x:Name="listView" >
        <Style TargetType="dxg:GridControl">
            <Setter Property="FilterString" Value="[Appointment.Type] = ##ToString#Pattern#"/>
See Also