Back to Devexpress

CardView.MinFixedSize Property

wpf-devexpress-dot-xpf-dot-grid-dot-cardview-6f061f5d.md

latest2.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public double MinFixedSize { get; set; }
vb
Public Property MinFixedSize As Double

Property Value

TypeDescription
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

FixedSize

AllowCardResizing

CardView Class

CardView Members

DevExpress.Xpf.Grid Namespace