LayoutViewOptionsSingleRecordMode.CardAlignment Property

Gets or sets the card's alignment within the View when the card is stretched to fully fill the View's width or height. This option is in effect when the LayoutViewOptionsSingleRecordMode.StretchCardToViewHeight or LayoutViewOptionsSingleRecordMode.StretchCardToViewWidth property is enabled (not both).

Namespace: DevExpress.XtraGrid.Views.Layout

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

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

Property Value

Type Default Description
CardsAlignment

Center

A CardsAlignment value that specifies the card's alignment.

Property Paths

You can access this nested property as listed below:

Object Type Path to CardAlignment
LayoutView
.OptionsSingleRecordMode.CardAlignment

Remarks

This option is in effect when the LayoutViewOptionsSingleRecordMode.StretchCardToViewHeight or LayoutViewOptionsSingleRecordMode.StretchCardToViewWidth property is enabled (not both).

See Also