wpf-devexpress-dot-xpf-dot-grid-dot-cardview-7f378922.md
Gets or sets a card’s width (or height).
Namespace : DevExpress.Xpf.Grid
Assembly : DevExpress.Xpf.Grid.v25.2.dll
NuGet Package : DevExpress.Wpf.Grid.Core
public double FixedSize { get; set; }
Public Property FixedSize As Double
| Type | Description |
|---|---|
| Double |
A Double value that specifies a card’s width or height.
|
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
Column Layout
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.
See Also