CardView.FixedSize Property
Gets or sets a card’s width (or height).
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.1.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Property Value
Type | Description |
---|---|
Double | A Double value that specifies a card’s width or height. |
Remarks
Cards can be arranged in rows or columns. The layout of cards is specified by the CardView.CardLayout property.
By default, a card’s size (its width or height depending on the layout) is automatically calculated to display its content in an 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 FixedSize property.
Row Layout
The FixedSize property specifies the height of cards.
Column Layout
The FixedSize property specifies the width of cards.
The minimum size to which a card can be resized is specified by the CardView.MinFixedSize property.
If the FixedSize property is specified and the CardView.AllowCardResizing property is set to true, an end-user can resize cards (change their width or height) by dragging a card separator.
To learn more, see Cards Layout.