ActionsPane.GetNextControl Method
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)
Syntax
'Declaration
Function GetNextControl ( _
ctl As Control, _
forward As Boolean _
) As Control
Control GetNextControl(
Control ctl,
bool forward
)
Parameters
- ctl
Type: System.Windows.Forms.Control
The control to start the search with.
- forward
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.
Remarks
This method provides the same functionality as the Control.GetNextControl method. For more information about using this method, see Control.GetNextControl.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools Namespace