Back to Devexpress

CardView.CardWidth Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-card-dot-cardview-50f5ef41.md

latest2.1 KB
Original Source

CardView.CardWidth Property

Gets or sets card width.

Namespace : DevExpress.XtraGrid.Views.Card

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(200)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public int CardWidth { get; set; }
vb
<DefaultValue(200)>
<XtraSerializableProperty>
<DXCategory("Appearance")>
Public Property CardWidth As Integer

Property Value

TypeDefaultDescription
Int32200

An integer value specifying card width in pixels.

|

Remarks

The specified width is applied to all cards. You cannot specify the width of an individual card. Note also that the CardWidth property is only in effect when the CardOptionsBehavior.AutoHorzWidth option is set to false. Refer to the Card and Layout Views topic for additional information.

End-users can change card width by dragging card separators.

See Also

AutoHorzWidth

Sizeable

CardView Class

CardView Members

DevExpress.XtraGrid.Views.Card Namespace