ToolStrip.GetNextItem(ToolStripItem, ArrowDirection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the next ToolStripItem from the specified reference point and moving in the specified 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);
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
Parameters
- start
- ToolStripItem
The ToolStripItem that is the reference point from which to begin the retrieval of the next item.
- direction
- ArrowDirection
One of the values of ArrowDirection that specifies the direction to move.
Returns
A ToolStripItem that is specified by the start
parameter and is next in the order as specified by the direction
parameter.
Exceptions
The specified value of the direction
parameter is not one of the values of ArrowDirection.
Remarks
Use the GetNextItem method to get the next ToolStripItem of a ToolStrip. The ArrowDirection enumeration coordinates with the Orientation property.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기