Back to Devexpress

CardOptionsBehavior.AutoHorzWidth Property

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

latest2.3 KB
Original Source

CardOptionsBehavior.AutoHorzWidth Property

Gets or sets a value specifying whether the cards auto width feature is enabled.

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 AutoHorzWidth { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property AutoHorzWidth As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if the cards auto width feature is enabled; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AutoHorzWidth
CardView

.OptionsBehavior .AutoHorzWidth

|

Remarks

When the feature is enabled, end-users cannot change the card width using the card separator regardless of whether the CardOptionsBehavior.Sizeable option is enabled.

See Also

Sizeable

MaximumCardColumns

CardOptionsBehavior Class

CardOptionsBehavior Members

DevExpress.XtraGrid.Views.Card Namespace