Skip to main content
A newer version of this page is available. .
Tab

LayoutItemBase.VisibleIndex Property

Gets or sets a value specifying the position of the current layout item or group amongst the visible items in a group (or at a control’s root level).

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public int VisibleIndex { get; set; }

Property Value

Type Description
Int32

An integer value specifying the zero-based index of the LayoutItemBase amongst visible items or groups at the same level. -1 if the layout item or group is invisible.

Remarks

Use the VisibleIndex property to control where the layout item or group is displayed amongst other layout items or groups of the same control level. If the VisibleIndex property is set to -1, the layout item or group is not displayed.

Note that the VisibleIndex and LayoutItemBase.Visible properties are interdependent. A -1 value assigned to the VisibleIndex property sets the LayoutItemBase.Visible property to false. Setting the VisibleIndex property to a non-negative value sets the LayoutItemBase.Visible property to true.

See Also