Back to Devexpress

CardView.CanResizeCards Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-card-dot-cardview-af15b3f9.md

latest2.1 KB
Original Source

CardView.CanResizeCards Property

Indicates whether it is possible to resize cards.

Namespace : DevExpress.XtraGrid.Views.Card

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
public bool CanResizeCards { get; }
vb
<Browsable(False)>
Public ReadOnly Property CanResizeCards As Boolean

Property Value

TypeDescription
Boolean

true if a user can resize cards; otherwise false.

|

Remarks

Use this property to determine whether a user can resize cards.

The CanResizeCards property returns false in the following cases:

Cards can be resized by dragging the vertical lines that separate card columns. It is also possible to change card widths via code. Use the CardView.CardWidth property of the CardView class for this purpose.

Note that you cannot change the width of a single card. You can only change the common width of all cards simultaneously.

See Also

CardView Class

CardView Members

DevExpress.XtraGrid.Views.Card Namespace