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.AllowCardResizing Property

Gets or sets whether an end-user is allowed to change the width (or height) of cards. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public bool AllowCardResizing { get; set; }

#Property Value

Type Description
Boolean

true to allow an end-user to resize cards; otherwise, false.

#Remarks

End-users can resize cards by dragging a card separator. If cards are arranged in rows, dragging a separator changes the width of cards. If cards are arranged in columns, dragging a separator changes the height of cards.

The AllowCardResizing property indicates whether an end-user is allowed to change the width (or height) of cards. Cards can be resized if they have the same width (or height if they are arranged in columns), which is specified by the BaseColumn.FixedWidth property, and the AllowCardResizing option is enabled.

To obtain whether an end-user can resize cards, use the CardView.IsResizingEnabled property.

To learn more, see Card View.

See Also