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

VGridControlBase.RecordWidth Property

Gets or sets the record’s width, in either absolute or relative values, according to the currently applied layout.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v18.2.dll

Declaration

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

Property Value

Type Description
Int32

An integer value that specifies the record’s width.

Remarks

End-users can change a record’s width using the mouse if the control’s VGridOptionsBehavior.ResizeRowValues option is enabled. The VGridControlBase.RecordMinWidth property specifies the minimum possible width for the record.

The RecordWidth and VGridControlBase.RowHeaderWidth properties specify the widths of records and row headers respectively, in either absolute values (pixels) or relative values. See the VGridControlBase.RowHeaderWidth topic to learn more.

Changing the VGridControlBase.RecordWidth property’s value 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