Back to Devexpress

LayoutViewOptionsSingleRecordMode.StretchCardToViewWidth Property

windowsforms-devexpress-dot-xtragrid-dot-views-dot-layout-dot-layoutviewoptionssinglerecordmode-5622c662.md

latest2.3 KB
Original Source

LayoutViewOptionsSingleRecordMode.StretchCardToViewWidth Property

Gets or sets whether the currently visible card is stretched horizontally to fully fill the View’s width. This option is in effect in Single Record view mode.

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 the current card is 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

.OptionsSingleRecordMode .StretchCardToViewWidth

|

See Also

StretchCardToViewHeight

ViewMode

LayoutViewOptionsSingleRecordMode Class

LayoutViewOptionsSingleRecordMode Members

DevExpress.XtraGrid.Views.Layout Namespace