Back to Devexpress

OptionsColumnEditForm.VisibleIndex Property

windowsforms-devexpress-dot-xtragrid-dot-columns-dot-optionscolumneditform-e97da0a8.md

latest2.7 KB
Original Source

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.v25.2.dll

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

Declaration

csharp
[DefaultValue(0)]
[XtraSerializableProperty]
public virtual int VisibleIndex { get; set; }
vb
<DefaultValue(0)>
<XtraSerializableProperty>
Public Overridable Property VisibleIndex As Integer

Property Value

TypeDefaultDescription
Int320

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 TypePath 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

Visible

OptionsColumnEditForm Class

OptionsColumnEditForm Members

DevExpress.XtraGrid.Columns Namespace