Skip to main content

DataViewBase.EnableSelectedRowAppearance Property

Gets or sets whether the selected rows are decorated with a specific appearance. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v22.2.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core


public bool EnableSelectedRowAppearance { get; set; }

Property Value

Type Description

true, if the specific appearance for selected rows is enabled; otherwise, false.


Use the EnableSelectedRowAppearance property to disable decorating selected and focused rows with a specific appearance.

The image below demonstrates the visual difference between two controls with the disabled and enabled DataViewBase.EnableSelectedRowAppearance option. The first four rows are selected in both the grids.


The following code snippets (auto-collected from DevExpress Examples) contain references to the EnableSelectedRowAppearance property.


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