GridViewStyles.SelectedRow Property
In This Article
Specifies the appearance of the selected data row.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public GridViewDataRowStyle SelectedRow { get; }
#Property Value
Type | Description |
---|---|
Grid |
Style settings that specify the selected row appearance. |
#Remarks
Enable row selection and specify the SelectedRow
property to define the appearance of the selected row.
The style settings of the selected row are not in effect when row selection is disabled.
The SelectedRow
property allows you to specify the appearance of the selected row in markup and in a CSS class.
#Markup Example
#CSS Example
#ASPxGridView1 .selectedRowStyle td{
background-color: Brown;
}
See Also