ContainerControl.Select(Boolean, Boolean) ContainerControl.Select(Boolean, Boolean) ContainerControl.Select(Boolean, Boolean) ContainerControl.Select(Boolean, Boolean) Method

定义

激活子控件。Activates a child control. 还可以指定从中选择控件的 Tab 键顺序的方向。Optionally specifies the direction in the tab order to select the control from.

protected:
 override void Select(bool directed, bool forward);
protected override void Select (bool directed, bool forward);
override this.Select : bool * bool -> unit
Protected Overrides Sub Select (directed As Boolean, forward As Boolean)

参数

directed
Boolean Boolean Boolean Boolean

如果指定要选择的控件的方向,则为 true;否则为 falsetrue to specify the direction of the control to select; otherwise, false.

forward
Boolean Boolean Boolean Boolean

如果为 true 则在 Tab 键顺序中前移;如果为 false 则在 Tab 键顺序中后移。true to move forward in the tab order; false to move backward in the tab order.

适用于

另请参阅