Back to Devexpress

VGridControl.LayoutStyle Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-vgridcontrol-690654c0.md

latest2.6 KB
Original Source

VGridControl.LayoutStyle Property

Gets or sets the Vertical Grid Control’s layout style.

Namespace : DevExpress.XtraVerticalGrid

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(LayoutViewStyle.MultiRecordView)]
[XtraSerializableProperty]
public LayoutViewStyle LayoutStyle { get; set; }
vb
<DefaultValue(LayoutViewStyle.MultiRecordView)>
<XtraSerializableProperty>
Public Property LayoutStyle As LayoutViewStyle

Property Value

TypeDefaultDescription
LayoutViewStyleMultiRecordView

A LayoutViewStyle enumeration member specifying the control’s layout style.

|

Available values:

NameDescription
BandsView

Applies the bands view layout to the control.

| | SingleRecordView |

Applies the single record view layout to the control.

| | MultiRecordView |

Applies the multiple records view layout to the control. This layout is not supported by the PropertyGridControl.

|

Remarks

The VerticalGrid Control supports multiple layout styles. A layout style determines the number of records displayed at a time and how values are arranged. Use the LayoutStyle property to select the control’s layout style. For more information please refer to the Layouts topic.

See Also

Layouts

VGridControl Class

VGridControl Members

DevExpress.XtraVerticalGrid Namespace