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

DrawFocusRectStyle Enum

Contains values specifying how the focus rectangle is painted within Grid Views.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v17.2.dll

Declaration

public enum DrawFocusRectStyle

Members

Name Description
None

The focus rectangle is not painted.

RowFocus

The focus rectangle is painted around the focused row, excluding the preview section (if it’s visible).

CellFocus

The focus rectangle is painted around the focused cell.

RowFullFocus

The focus rectangle is painted around the focused row, encompassing the preview section (if it’s visible).

Related API Members

The following properties accept/return DrawFocusRectStyle values:

Remarks

Values listed by this enumeration are used to set the GridView.FocusRectStyle property value.

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

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