Поделиться через


ToolStrip.GetNextItem(ToolStripItem, ArrowDirection) Метод

Определение

Извлекает следующий ToolStripItem из указанной эталонной точки и перемещается в указанном направлении.

public:
 virtual System::Windows::Forms::ToolStripItem ^ GetNextItem(System::Windows::Forms::ToolStripItem ^ start, System::Windows::Forms::ArrowDirection direction);
public virtual System.Windows.Forms.ToolStripItem GetNextItem(System.Windows.Forms.ToolStripItem start, System.Windows.Forms.ArrowDirection direction);
public virtual System.Windows.Forms.ToolStripItem? GetNextItem(System.Windows.Forms.ToolStripItem? start, System.Windows.Forms.ArrowDirection direction);
abstract member GetNextItem : System.Windows.Forms.ToolStripItem * System.Windows.Forms.ArrowDirection -> System.Windows.Forms.ToolStripItem
override this.GetNextItem : System.Windows.Forms.ToolStripItem * System.Windows.Forms.ArrowDirection -> System.Windows.Forms.ToolStripItem
Public Overridable Function GetNextItem (start As ToolStripItem, direction As ArrowDirection) As ToolStripItem

Параметры

start
ToolStripItem

Это ToolStripItem эталонная точка, с которой начинается извлечение следующего элемента.

direction
ArrowDirection

Одно из значений, ArrowDirection указывающее направление перемещения.

Возвращаемое значение

Значение ToolStripItem , указанное параметром start и следующее в порядке, указанном параметром direction .

Исключения

Указанное значение direction параметра не является одним из значений ArrowDirection.

Комментарии

GetNextItem Используйте метод для получения следующего ToolStripItemToolStripэлемента. Перечисление ArrowDirection координируется свойством Orientation .

Применяется к