Class
PromptInputDialogOpeningEventArgs

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:

cs-api-definition
public class PromptInputDialogOpeningEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsPromptInputDialogOpeningEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

PromptInputDialogOpeningEventArgs()

Initializes a new instance of the PromptInputDialogOpeningEventArgs class.

Declaration

cs-api-definition
public PromptInputDialogOpeningEventArgs()

Properties

AllowMultipleSelection

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

Declaration

cs-api-definition
public bool AllowMultipleSelection { get; set; }

Property Value

bool

FileNames

Gets the list of selected file paths.

Declaration

cs-api-definition
public IList<string> FileNames { get; }

Property Value

IList<string>

Filter

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

Declaration

cs-api-definition
public string Filter { get; set; }

Property Value

string

Title

Gets or sets the title of the file dialog window.

Declaration

cs-api-definition
public string Title { get; set; }

Property Value

string