Skip to main content

DataViewBase.FadeSelectionOnLostFocus Property

Gets or sets whether selected rows are faded when the grid control loses focus. 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 FadeSelectionOnLostFocus { get; set; }

Property Value

Type Description

true if selected rows are faded when the grid control loses focus; otherwise, false.


Set the FadeSelectionOnLostFocus property to false to keep the focused row highlighted when the GridControl loses focus.

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