System.Windows.Forms.HelpProvider.SetShowHelp Method

Specifies whether Help is displayed for the specified control.

Syntax

public virtual void SetShowHelp (Control ctl, bool value)

Parameters

ctl
A System.Windows.Forms.Control for which Help is turned on or off.
value
true if Help displays for the control; otherwise, false.

Remarks

If you previously called the HelpProvider.SetHelpString(Control, string) or HelpProvider.SetHelpKeyword(Control, string) for the control specified in the ctl parameter, the System.Windows.Forms.HelpProvider automatically displays Help for that control. To modify this behavior, call the HelpProvider.SetShowHelp(Control, bool) method, specifying false in the value parameter.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0