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.v24.2.dll
NuGet Package: DevExpress.Wpf.Scheduling
Declaration
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