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

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

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

#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