CardView.CardAlignment Property
Gets or sets the alignment of cards within a view.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.1.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Property Value
Type | Description |
---|---|
DevExpress.Xpf.Core.Alignment | A DevExpress.Xpf.Core.Alignment enumeration value that specifies the alignment of cards within a view. |
Remarks
Cards can be arranged in rows or columns. The layout of cards is specified by the CardView.CardLayout property. The way cards are aligned within a view is specified by the CardAlignment property, and depends on the layout:
Row Layout
Card Alignment | Description |
---|---|
Center | Cards are centered within a view. |
Far | Aligns the bottom edges of cards. |
Near | Aligns the top edges of cards. |
Column Layout
Card Alignment | Description |
---|---|
Center | Cards are centered within a view. |
Far | Aligns the right edges of cards. |
Near | Aligns the left edges of cards. |
To learn more, see Cards Layout.