System.Windows.Forms.ToolStrip.GetNextItem Method

Retrieves the next System.Windows.Forms.ToolStripItem from the specified reference point and moving in the specified direction.

Syntax

public virtual ToolStripItem GetNextItem (ToolStripItem start, ArrowDirection direction)

Parameters

start
The System.Windows.Forms.ToolStripItem that is the reference point from which to begin the retrieval of the next item.
direction
One of the values of System.Windows.Forms.ArrowDirection that specifies the direction to move.

Returns

A System.Windows.Forms.ToolStripItem that is specified by the start parameter and is next in the order as specified by the direction parameter.

Remarks

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0