DataControlBase.RowIndicatorStyleSettings Property
In This Article
Gets or sets style settings applied to the Row Indicator Panel.
Namespace: DevExpress.WinUI.Grid
Assembly: DevExpress.WinUI.Grid.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
[DP(null, Handler = "OnRowIndicatorStyleSettingsChanged")]
public RowIndicatorStyleSettings RowIndicatorStyleSettings { get; set; }
#Property Value
Type | Description |
---|---|
Row |
Style settings applied to the Row Indicator Panel. |
#Remarks
RowIndicatorStyleSettings include the following properties:
Property | Description |
---|---|
Background | Gets or sets a brush that paints the Row Indicator Panel‘s background. |
Border |
Gets or sets a brush that paints the Row Indicator Panel‘s borders. |
Focused |
Gets or sets an image displayed in the Row Indicator Panel for the focused row. |
Editing |
Gets or sets an image displayed in the Row Indicator Panel if the focused row is in edit mode. |
Changed |
Gets or sets an image displayed in the Row Indicator Panel if the focused row was modified. |
New |
Gets or sets an image displayed in the Row Indicator Panel for the New Item Row. |
Auto |
Gets or sets an image displayed in the Row Indicator Panel for the Auto Filter Row. |
Focused |
Gets or sets an image displayed in the Row Indicator Panel if the focused row contains validation errors. |
Error |
Gets or sets an image displayed in the Row Indicator Panel if a non-focused row contains validation errors. |
None |
Gets or sets an image displayed in a row indicator cell if the cell does not display other icons. |
Set the DataControlBase.ShowRowIndicator property to true to display the Row Indicator Panel.
#Example
The following code sample changes icons in the Row Indicator Panel:
<dxg:GridControl ItemsSource="{x:Bind ViewModel.Source}"
NavigationStyle="Cell"
ValidateRow="grid_ValidateRow"
ShowRowIndicator="True">
<dxg:GridControl.RowIndicatorStyleSettings>
<dxg:RowIndicatorStyleSettings
NoneImage="GreenCircle.png"
FocusedErrorImage="RedCircle.png"
ErrorImage="RedCircle.png"
EditingImage="OrangeCircle.png"
ChangedImage="OrangeCircle.png"/>
</dxg:GridControl.RowIndicatorStyleSettings>
<!-- --->
</dxg:GridControl>
See Also