ToolStrip.GetNextItem Method
.NET Framework 2.0
Note: This method is new in the .NET Framework version 2.0.
Retrieves the next ToolStripItem from the specified reference point and moving in the specified direction.
Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)
Assembly: System.Windows.Forms (in system.windows.forms.dll)
'Declaration Public Overridable Function GetNextItem ( _ start As ToolStripItem, _ direction As ArrowDirection _ ) As ToolStripItem 'Usage Dim instance As ToolStrip Dim start As ToolStripItem Dim direction As ArrowDirection Dim returnValue As ToolStripItem returnValue = instance.GetNextItem(start, direction)
public ToolStripItem GetNextItem ( ToolStripItem start, ArrowDirection direction )
public function GetNextItem ( start : ToolStripItem, direction : ArrowDirection ) : ToolStripItem
Parameters
- start
The ToolStripItem that is the reference point from which to begin the retrieval of the next item.
- direction
One of the values of ArrowDirection that specifies the direction to move.
Return Value
A ToolStripItem that is specified by the start parameter and is next in the order as specified by the direction parameter.Use the GetNextItem method to get the next ToolStripItem of a ToolStrip. The ArrowDirection enumeration coordinates with the Orientation property.
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show: