New to Telerik UI for WinFormsStart a free 30-day trial

Provides data for the DialogOpening event. Set Cancel to true to prevent the default file dialog from opening and handle the file selection externally. When canceled, populate FileNames with the selected file paths so that attachments are still created.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class PromptInputDialogOpeningEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsPromptInputDialogOpeningEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes a new instance of the PromptInputDialogOpeningEventArgs class.

C#
public PromptInputDialogOpeningEventArgs()

Properties

Gets or sets a value indicating whether the dialog allows selecting multiple files.

C#
public bool AllowMultipleSelection { get; set; }

Gets the list of selected file paths.

C#
public IList<string> FileNames { get; }

Gets or sets the file filter string used by the dialog (e.g., "Image files|.png;.jpg|All files|.").

C#
public string Filter { get; set; }

Gets or sets the title of the file dialog window.

C#
public string Title { get; set; }