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.1.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.