Redigeeri

Jagamisviis:


PrintPreviewDialog.HelpButton Property

Definition

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

public:
 property bool HelpButton { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public bool HelpButton { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.HelpButton : bool with get, set
Public Property HelpButton As Boolean

Property Value

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

Attributes

Remarks

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.

Applies to