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

Collection<T>.GetVisibleItem(Int32) Method

Gets an item by its visible index.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public T GetVisibleItem(
    int index
)

Parameters

Name Type Description
index Int32

An integer value representing the visible index of the item to be returned.

Returns

Type Description
T

A <T> object which represents the required visible item.

Remarks

The visibility of an item (a pane object) is controlled by two interrelated properties: the SplitterPane.Visible and SplitterPane.VisibleIndex. At that, the SplitterPane.VisibleIndex property specifies the precise visible position of a pane within its parent pane.

The GetVisibleItem method obtains an item specified by the value of its SplitterPane.VisibleIndex property.

See Also