Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

#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