Back to Devexpress

MultiEditorRowProperties.CellWidth Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-rows-dot-multieditorrowproperties-812af725.md

latest2.2 KB
Original Source

MultiEditorRowProperties.CellWidth Property

Gets or sets the width of the current data cell relative to other data cells in the multi-editor row.

Namespace : DevExpress.XtraVerticalGrid.Rows

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
[DefaultValue(20)]
[DXCategory("Layout")]
[XtraSerializableProperty(XtraSerializationFlags.AutoScaleX)]
public int CellWidth { get; set; }
vb
<DefaultValue(20)>
<XtraSerializableProperty(XtraSerializationFlags.AutoScaleX)>
<DXCategory("Layout")>
Public Property CellWidth As Integer

Property Value

TypeDefaultDescription
Int3220

The relative width of the data cell in the multi-editor row.

|

Remarks

A multi-editor row can display several items (data cells). The CellWidth property allows you to specify a data cell’s width relative to the widths of other cells in the same row.

The following image demonstrates a multi-editor row with two data cells. The cells have the CellWidth property set to 20 and 40, respectively:

See Also

Width

Rows

MultiEditorRowProperties Class

MultiEditorRowProperties Members

DevExpress.XtraVerticalGrid.Rows Namespace