New to Telerik UI for WPFStart 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.Windows.Controls.ConversationalUI

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class PromptInputDialogOpeningEventArgs : CancelRoutedEventArgs

Inheritance: objectRadRoutedEventArgsCancelRoutedEventArgsPromptInputDialogOpeningEventArgs

Inherited Members CancelRoutedEventArgs.Cancel

Constructors

Initializes a new instance of the PromptInputDialogOpeningEventArgs class.

C#
public PromptInputDialogOpeningEventArgs()

Initializes a new instance of the PromptInputDialogOpeningEventArgs class.

C#
public PromptInputDialogOpeningEventArgs(RoutedEvent routedEvent)
Parameters:routedEventRoutedEvent

The routed event identifier.

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|."). Consumers can modify this before the dialog opens or use it when handling the event externally.

C#
public string Filter { get; set; }

Gets or sets the title of the file dialog window.

C#
public string Title { get; set; }