Export (0) Print
Expand All

ActionsPane.GetNextControl Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Retrieves the next control forward or back in the tab order of child controls.

Namespace:  Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Control GetNextControl(
	Control ctl,
	bool forward


Type: System.Windows.Forms.Control

The control to start the search with.

Type: System.Boolean

true to search forward in the tab order; false to search backward.

Return Value

Type: System.Windows.Forms.Control
The next control in the tab order.

This method provides the same functionality as the Control.GetNextControl method. For more information about using this method, see Control.GetNextControl.

© 2014 Microsoft