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

GridViewAppearances.SelectedRow Property

Gets the appearance settings used to paint the selected data rows.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

public AppearanceObject SelectedRow { get; }

Property Value

Type Description
AppearanceObject

A AppearanceObject object that provides the appearance settings used to paint the selected data rows.

Remarks

If the View’s multi-select functionality is enabled, the SelectedRow property specifies the appearance of the currently selected rows. The appearance settings of the currently focused row, are specified by the GridViewAppearances.FocusedRow property.

When the grid control isn’t focused, the currently selected rows are painted using the appearance settings specified by the GridViewAppearances.HideSelectionRow property.

For more information on appearances, see the Appearance and Conditional Formatting topic.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectedRow property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also