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

Gets or sets the minimum width (or height if cards are arranged in columns) 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 double MinFixedSize { get; set; }

#Property Value

Type Description
Double

A Double value that specifies the minimum size of cards.

#Remarks

By default, a card’s size (its width or height depending on the layout) is automatically calculated to display its content in the optimal way. As a result, different cards can have different sizes. To avoid this, and specify the same size for all cards displayed within a view, use the CardView.FixedSize property. The MinFixedSize property specifies the minimum size to which cards can be resized by an end-user, or in code.

If the MinFixedSize property is specified, the CardView.FixedSize property cannot be set to a value less than the MinFixedSize property’s value.

To learn more, see Card View.

See Also