Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Packages: DevExpress.Win.Navigation, 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.

See Also