ClassPromptInputDialogOpeningEventArgs
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:
public class PromptInputDialogOpeningEventArgs : CancelRoutedEventArgs
Inheritance: objectRadRoutedEventArgsCancelRoutedEventArgsPromptInputDialogOpeningEventArgs
Inherited Members
Constructors
PromptInputDialogOpeningEventArgs()
Initializes a new instance of the PromptInputDialogOpeningEventArgs class.
Declaration
public PromptInputDialogOpeningEventArgs()
PromptInputDialogOpeningEventArgs(RoutedEvent)
Initializes a new instance of the PromptInputDialogOpeningEventArgs class.
Declaration
public PromptInputDialogOpeningEventArgs(RoutedEvent routedEvent)
Parameters
routedEvent
RoutedEvent
The routed event identifier.
Properties
AllowMultipleSelection
Gets or sets a value indicating whether the dialog allows selecting multiple files.
FileNames
Gets the list of selected file paths.
Filter
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.