HelpButton Property

PrintPreviewDialog.HelpButton Property

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets a value indicating whether a Help button should be displayed in the caption box of the form.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[BrowsableAttribute(false)]
public bool HelpButton { get; set; }

Property Value

Type: System.Boolean

true to display a Help button in the form's caption bar; otherwise, false. The default is false.

This property is not relevant for this class.

When this property is set to true, a small button with a question mark appears in the caption bar to the left of the Close button. You can use this button to display Help for your application. You can create an event handler for the HelpRequested event of the Control class to display Help information to the user when the Help button of the form is clicked.

The value of the HelpButton property is ignored if the maximize or minimize boxes are shown.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft