Class ListBoxTextChangingEventArgs
Provides data for the ItemChanging event.
Inheritance
System.Object
ListBoxTextChangingEventArgs
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class ListBoxTextChangingEventArgs : CancelEventArgs
Constructors
ListBoxTextChangingEventArgs(String)
Creates a new instance of the ListBoxTextChangingEventArgs class.
Declaration
public ListBoxTextChangingEventArgs(string pNewText)
Parameters
Type | Name | Description |
---|---|---|
System.String | pNewText | The new text after the change. |
ListBoxTextChangingEventArgs(String, Int32)
Creates a new instance of the ListBoxTextChangingEventArgs class.
Declaration
public ListBoxTextChangingEventArgs(string pNewText, int pSelectedIndex)
Parameters
Type | Name | Description |
---|---|---|
System.String | pNewText | The new text after the change. |
System.Int32 | pSelectedIndex | Last selected index. |
Properties
LastSelectedIndex
Gets the last selected index for the edited row in the list.
Declaration
public int LastSelectedIndex { get; }
Property Value
Type |
---|
System.Int32 |
NewText
Returns the new text for the edited row in the list.
Declaration
public string NewText { get; }
Property Value
Type |
---|
System.String |