Back to Devexpress

VGridControlBase.RecordWidth Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-vgridcontrolbase-b5e5e15f.md

latest2.8 KB
Original Source

VGridControlBase.RecordWidth Property

Gets or sets a record’s width (as an absolute or relative value) based on the current layout. This setting affects all Vertical Grid or Property Grid records. Note that you cannot change the width of an individual record.

Namespace : DevExpress.XtraVerticalGrid

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
[XtraSerializableProperty(XtraSerializationFlags.AutoScaleX)]
public int RecordWidth { get; set; }
vb
<XtraSerializableProperty(XtraSerializationFlags.AutoScaleX)>
Public Property RecordWidth As Integer

Property Value

TypeDescription
Int32

An integer value that specifies the record’s width.

|

Remarks

If the VGridOptionsBehavior.ResizeRowValues option is enabled, users can resize records at runtime. The VGridControlBase.RecordMinWidth property specifies the record’s minimum width.

RecordWidth and VGridControlBase.RowHeaderWidth properties specify record width and row header width, respectively (as absolute values in pixels or relative values). See the following help topic to learn more: VGridControlBase.RowHeaderWidth.

If you change the VGridControlBase.RecordWidth property value, it raises the VGridControlBase.RecordWidthChanged event.

See Also

RecordMinWidth

RecordWidthChanged

RowHeaderWidth

ResizeRowValues

VGridControlBase Class

VGridControlBase Members

DevExpress.XtraVerticalGrid Namespace