Back to Devexpress

LayoutViewOptionsBehavior.AutoFocusNewCard Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-layout-dot-layoutviewoptionsbehavior-dc329f28.md

latest1.9 KB
Original Source

LayoutViewOptionsBehavior.AutoFocusNewCard Property

Gets or sets a value specifying whether adding a new record focuses the new card.

Namespace : DevExpress.XtraGrid.Views.Layout

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool AutoFocusNewCard { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property AutoFocusNewCard As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true to force the View to focus new cards automatically; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AutoFocusNewCard
LayoutView

.OptionsBehavior .AutoFocusNewCard

|

See Also

AddNewRow()

LayoutViewOptionsBehavior Class

LayoutViewOptionsBehavior Members

DevExpress.XtraGrid.Views.Layout Namespace