Back to Devexpress

LayoutViewOptionsView.CardsAlignment Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-layout-dot-layoutviewoptionsview-59711a41.md

latest2.2 KB
Original Source

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.v25.2.dll

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

Declaration

csharp
[DefaultValue(CardsAlignment.Center)]
[XtraSerializableProperty]
public virtual CardsAlignment CardsAlignment { get; set; }
vb
<DefaultValue(CardsAlignment.Center)>
<XtraSerializableProperty>
Public Overridable Property CardsAlignment As CardsAlignment

Property Value

TypeDefaultDescription
CardsAlignmentCenter

A CardsAlignment value.

|

Available values:

NameDescription
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 TypePath to CardsAlignment
LayoutView

.OptionsView .CardsAlignment

|

See Also

LayoutViewOptionsView Class

LayoutViewOptionsView Members

DevExpress.XtraGrid.Views.Layout Namespace