Skip to main content

LayoutViewOptionsView.CardsAlignment Property

Gets or sets whether the top, center or bottom of cards are aligned when they have different heights.

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v24.2.dll

Declaration

[DefaultValue(CardsAlignment.Center)]
[XtraSerializableProperty]
public virtual CardsAlignment CardsAlignment { get; set; }

Property Value

Type Default Description
CardsAlignment Center

A CardsAlignment value.

Available values:

Name Description
Near

Aligns left/top edges of cards or displays the current card along the View’s left/top edge.

Center

Centers the View’s card(s).

Far

Aligns right/bottom edges of cards or displays the current card along the View’s right/bottom edge.

Property Paths

You can access this nested property as listed below:

Object Type Path to CardsAlignment
LayoutView
.OptionsView .CardsAlignment
See Also