All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DXCommonDialog.HelpRequest Event

Occurs when the user clicks the Help button on a file dialog and allows you to provide a help link or cancel opening help resources.

Namespace: DevExpress.Xpf.Dialogs

Assembly: DevExpress.Xpf.Dialogs.v20.1.dll

Declaration

public event HelpRequestEventHandler HelpRequest
Public Event HelpRequest As HelpRequestEventHandler

Event Data

The HelpRequest event's data class is HelpRequestEventArgs. The following properties provide information specific to this event:

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
HelpLink Gets or sets a help link that is opened when an end-user clicks the help button.

Remarks

The HelpRequest event is raised when an end user presses the help button. The help button is available when the DXFileDialog.ShowHelp property is set to true.

Use the HelpRequest event to provide a help link for end users (using the HelpRequestEventArgs.HelpLink property) or cancel opening help resources.

NOTE

The provided link is opened using the Process.Start method.

The code sample below demonstrates how to provide a custom help link by handling the HelpRequest event.

private void button_Click(object sender, RoutedEventArgs e) {
    var fileDialog = new DXSaveFileDialog();
    fileDialog.Filter = "Image Files|*.BMP;*.JPG;*.GIF|All files|*.*";
    fileDialog.ShowHelp = true;
    fileDialog.HelpRequest += FileDialog_HelpRequest;
    fileDialog.ShowDialog();
}

private void FileDialog_HelpRequest(object sender, HelpRequestEventArgs e) {
    e.HelpLink = "https://www.devexpress.com/Support/Documentation/";
}
See Also