Skip to main content

DataViewBase.ShowFocusedRectangle Property

Gets or sets whether a focus rectangle is painted around the focused cell or row. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.1.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core


public bool ShowFocusedRectangle { get; set; }

Property Value

Type Default Description
Boolean false

true to paint a focus rectangle around the focused cell or row; otherwise, false.


The focus rectangle can be painted only when keyboard focus is on the GridControl.

See Also