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.Windows.Controls.ConversationalUI

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class PromptInputDialogOpeningEventArgs : CancelRoutedEventArgs

Inheritance: objectRadRoutedEventArgsCancelRoutedEventArgsPromptInputDialogOpeningEventArgs

Inherited Members CancelRoutedEventArgs.Cancel

Constructors

PromptInputDialogOpeningEventArgs()

Initializes a new instance of the PromptInputDialogOpeningEventArgs class.

Declaration

cs-api-definition
public PromptInputDialogOpeningEventArgs()

PromptInputDialogOpeningEventArgs(RoutedEvent)

Initializes a new instance of the PromptInputDialogOpeningEventArgs class.

Declaration

cs-api-definition
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.

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

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