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

Declaration

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

Property Value

Type Description
Style

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

Remarks

Target Type: GridControl.

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

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