Back to Devexpress

LayoutViewOptionsView.FocusRectStyle Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-layout-dot-layoutviewoptionsview-1a053b66.md

latest2.0 KB
Original Source

LayoutViewOptionsView.FocusRectStyle Property

Gets or sets how the focus rectangle is painted around fields.

Namespace : DevExpress.XtraGrid.Views.Layout

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
DevExpress.XtraGrid.Views.Layout.FocusRectStyleDefault

A DevExpress.XtraGrid.Views.Layout.FocusRectStyle enumeration that specifies the focus rectangle display mode.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to FocusRectStyle
LayoutView

.OptionsView .FocusRectStyle

|

Remarks

If the FocusRectStyle option is set to None , no focus rectangle is painted around a cell when it gets focused.

See Also

FocusedColumn

LayoutViewOptionsView Class

LayoutViewOptionsView Members

DevExpress.XtraGrid.Views.Layout Namespace