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

Provides data for the SuggestionSelecting cancelable event. Set Cancel to true to prevent the suggestion from being applied.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class PromptInputSuggestionSelectingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsPromptInputSuggestionSelectingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Initializes a new instance of the PromptInputSuggestionSelectingEventArgs class.

C#
public PromptInputSuggestionSelectingEventArgs(string suggestion)
Parameters:suggestionstring

The prompt suggestion text about to be selected.

Properties

Gets the prompt suggestion text that is about to be selected.

C#
public string Suggestion { get; }

Gets or sets whether the input text should be updated with the selection.

C#
public bool UpdateText { get; set; }