TreeListOptionsView.FocusRectStyle Property

Gets or sets a value that specifies how the focus rectangle is painted.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

[DefaultValue(DrawFocusRectStyle.CellFocus)]
[XtraSerializableProperty]
public virtual DrawFocusRectStyle FocusRectStyle { get; set; }
<DefaultValue(DrawFocusRectStyle.CellFocus)>
<XtraSerializableProperty>
Public Overridable Property FocusRectStyle As DrawFocusRectStyle

Property Value

Type Default Description
DevExpress.XtraTreeList.DrawFocusRectStyle

CellFocus

A value that specifies the focus rectangle style.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to FocusRectStyle
WinForms Controls GanttControl
.OptionsView.FocusRectStyle
GanttControl
.OptionsView.FocusRectStyle
ResourcesTree
.OptionsView.FocusRectStyle
TreeList
.OptionsView.FocusRectStyle
Reporting XRDesignFieldList
.OptionsView.FocusRectStyle
XRDesignFieldList
.OptionsView.FocusRectStyle
XRDesignReportExplorer
.OptionsView.FocusRectStyle
XRDesignReportExplorer
.OptionsView.FocusRectStyle

Remarks

If the FocusRectStyle property is set to CellFocus, the focus rectangle is painted around the focused cell. In the case of the RowFocus value, the entire focused row (excluding the Preview Sections) is highlighted. To draw the focus rectangle around the focused row encompassing the preview section, set this property to RowFullFocus.

The focus rectangle is not painted if the FocusRectStyle property is set to None.

See Also