Skip to main content

OptionsColumnEditForm.VisibleIndex Property

Gets or sets the integer that indicates the position of an editor representing the current grid column within an Edit Form.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v24.2.dll

Declaration

[DefaultValue(0)]
[XtraSerializableProperty]
public virtual int VisibleIndex { get; set; }

Property Value

Type Default Description
Int32 0

The integer that indicates the position of an editor representing the current grid column within an Edit Form.

Property Paths

You can access this nested property as listed below:

Object Type Path to VisibleIndex
GridColumn
.OptionsEditForm .VisibleIndex

Remarks

The VisibleIndex property allows you to arrange editors within an Edit Form. By default, the VisibleIndex property of all editors within an Edit Form is set to 0. In this case, the editors are arranged within an Edit Form according to the indexes of the corresponding grid columns in the ColumnView.Columns collection. If you want to arrange editors in a different way, use the VisibleIndex property.

Note that editors with negative VisibleIndex property values are still visible within an Edit Form (they are displayed before editors that have greater visible indexes). To hide an editor, set the OptionsColumnEditForm.Visible property to false.

See Also