Back to Devexpress

LayoutViewOptionsMultiRecordMode.StretchCardToViewWidth Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-layout-dot-layoutviewoptionsmultirecordmode-b092692b.md

latest2.9 KB
Original Source

LayoutViewOptionsMultiRecordMode.StretchCardToViewWidth Property

Gets or sets whether cards are stretched horizontally to fully fill the View’s width. This option is in effect when cards are arranged in columns (in Column and MultiColumn view modes).

Namespace : DevExpress.XtraGrid.Views.Layout

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool StretchCardToViewWidth { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property StretchCardToViewWidth As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if cards are stretched horizontally to fully fill the View’s width; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to StretchCardToViewWidth
LayoutView

.OptionsMultiRecordMode .StretchCardToViewWidth

|

Remarks

This option is in effect when cards are arranged in columns (when the LayoutViewOptionsView.ViewMode property is set to Column or MultiColumn ).

If the LayoutViewOptionsMultiRecordMode.MaxCardColumns property is set to a value other than 0, the StretchCardToViewWidth option is ignored.

See Also

ViewMode

MaxCardColumns

StretchCardToViewHeight

LayoutViewOptionsMultiRecordMode Class

LayoutViewOptionsMultiRecordMode Members

DevExpress.XtraGrid.Views.Layout Namespace