windowsforms-devexpress-dot-xtragrid-dot-columns-dot-optionscolumneditform-e97da0a8.md
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.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[DefaultValue(0)]
[XtraSerializableProperty]
public virtual int VisibleIndex { get; set; }
<DefaultValue(0)>
<XtraSerializableProperty>
Public Overridable Property VisibleIndex As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | 0 |
The integer that indicates the position of an editor representing the current grid column within an Edit Form.
|
You can access this nested property as listed below:
| Object Type | Path to VisibleIndex |
|---|---|
| GridColumn |
.OptionsEditForm .VisibleIndex
|
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