Skip to main content
A newer version of this page is available. .

DataControlBase.RowStyleSettings Property

Gets or sets style settings applied to grid rows.

Namespace: DevExpress.WinUI.Grid

Assembly: DevExpress.WinUI.Grid.v21.2.dll

Declaration

public RowStyleSettings RowStyleSettings { get; set; }

Property Value

Type Description
RowStyleSettings

Style settings applied to grid rows.

Remarks

WinUI Data Grid - Customize Rows

<dxg:GridControl SelectionMode="RowExtended" ... >
    <!-- ... -->
    <dxg:GridControl.RowStyleSettings>
        <dxg:RowStyleSettings Background="LightGray"
                              SelectedBackground="PaleVioletRed" 
                              FocusedBackground="LightBlue" 
                              FocusedSelectedBackground="Orange" 
                              HoverBackground="LightGreen" 
                              FocusedBorderBrush="Red" 
                              FocusedBorderThickness="1" 
                              FocusedCornerRadius="5" 
                              MinHeight="19"/>
    </dxg:GridControl.RowStyleSettings>
</dxg:GridControl>
See Also