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.v24.2.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public bool EnableSelectedRowAppearance { get; set; }

Property Value

Type Description
Boolean

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

Remarks

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.

WPF_Grid_Selection_SelectedRowAppearance

The following code snippets (auto-collected from DevExpress Examples) contain references to the EnableSelectedRowAppearance 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