System.Windows.Forms.ToolStrip.RestoreFocus Method

Controls the return location of the focus.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
protected virtual void RestoreFocus ()

Remarks

Override the ToolStrip.RestoreFocus method to control where the focus returns to when the ToolStrip.TabStop property is false.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0