Class ContextChoiceTextInsertEventArgs
Provides data for the ContextChoiceSelectedTextInsert event of the EditControl control.
Inheritance
System.Object
ContextChoiceTextInsertEventArgs
Namespace: Syncfusion.Windows.Forms.Edit
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public class ContextChoiceTextInsertEventArgs : CancelEventArgs
Constructors
ContextChoiceTextInsertEventArgs(String, IContextChoiceItem)
Initializes a new instance of the ContextChoiceTextInsertEventArgs class.
Declaration
public ContextChoiceTextInsertEventArgs(string textDisplay, IContextChoiceItem item)
Parameters
Type | Name | Description |
---|---|---|
System.String | textDisplay | Text of the context choice item. It will be also set as text to be inserted. |
IContextChoiceItem | item | Selected item. |
Properties
DisplayText
Gets text that is displayed in context choice list.
Declaration
public string DisplayText { get; }
Property Value
Type |
---|
System.String |
InsertText
Gets or sets the text that will be inserted in context choice.
Declaration
public string InsertText { get; set; }
Property Value
Type |
---|
System.String |
SelectedItem
Gets or sets the selected item index.
Declaration
public IContextChoiceItem SelectedItem { get; }
Property Value
Type |
---|
IContextChoiceItem |