Skip to main content
A newer version of this page is available. .

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.v20.2.dll

NuGet Package: DevExpress.Win.VerticalGrid

Declaration

[XtraSerializableProperty(XtraSerializationFlags.AutoScaleX)]
public int RecordWidth { get; set; }

Property Value

Type Description
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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RecordWidth property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also