New to Telerik UI for WinForms? Download free 30-day trial

Help Button

You can display Help on Windows Forms through the Help button, located on the right side of the title bar.

By default, the HelpButton is not shown. Set the HelpButton property to true to display a Help button in the form's caption bar. The value of the HelpButton property is ignored if the Maximize or Minimize buttons are shown. An alternative solution is to set its Visibility property to ElementVisibility.Visible in order to be displayed. The HelpButtonClicked event is fired when Help button in the title bar is clicked. It can be canceled. However, if it is not canceled, the HelpRequested event will be fired when the Help cursor is clicked on any Control.

WinForms RadRadTitleBar Help Button

You can find below a sample code snippet:

Customize selected item appearance


public TitleBarHelpButton()
{
    InitializeComponent();
    this.HelpButton = true;
    this.MaximizeBox = false;
    this.MinimizeBox = false;
    this.HelpButtonClicked += ShapedForm1_HelpButtonClicked;
    this.radButton1.HelpRequested += radButton1_HelpRequested;
}

private void ShapedForm1_HelpButtonClicked(object sender, CancelEventArgs e)
{
    if (RadMessageBox.Show("Do you need help?", "Confirmation", MessageBoxButtons.YesNo) == System.Windows.Forms.DialogResult.No)
    {
        e.Cancel = true;
    }
}

private void radButton1_HelpRequested(object sender, HelpEventArgs hlpevent)
{
    RadMessageBox.Show("This is RadButton.");
}
In this article