Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CardView.CardWidth Property

Gets or sets card width.

Namespace: DevExpress.XtraGrid.Views.Card

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

[DefaultValue(200)]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public int CardWidth { get; set; }

#Property Value

Type Default Description
Int32 200

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