Back to Devexpress

CardOptionsBehavior.AutoFocusNewCard Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-card-dot-cardoptionsbehavior-d179fafe.md

latest1.8 KB
Original Source

CardOptionsBehavior.AutoFocusNewCard Property

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

Namespace : DevExpress.XtraGrid.Views.Card

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
CardView

.OptionsBehavior .AutoFocusNewCard

|

See Also

CardOptionsBehavior Class

CardOptionsBehavior Members

DevExpress.XtraGrid.Views.Card Namespace