Skip to main content

CardsAlignment Enum

Contains values that specify how cards in a LayoutView are aligned.

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v24.1.dll

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

Declaration

public enum CardsAlignment

Members

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.

Related API Members

The following properties accept/return CardsAlignment values:

Remarks

This enumerator contains values to initialize the LayoutViewOptionsView.CardsAlignment and LayoutViewOptionsSingleRecordMode.CardAlignment properties.

The LayoutViewOptionsView.CardsAlignment property specifies whether the top, center or bottom of cards are aligned when they have different heights.

The LayoutViewOptionsSingleRecordMode.CardAlignment property is in effect when a single card is displayed within the View at one time, and it is stretched to the View’s width or height. The property specifies the card’s position within the View in this mode.

See Also