Class ListboxItemChangingArgs
Event arguments for when a selected item is in the process of changing (before actually being changed) in a listbox/combobox. The event gives the ability to cancel the selection by settings ShouldCancel to true.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AGS.API
Assembly: AGS.API.dll
Syntax
public class ListboxItemChangingArgs : ListboxItemArgs
Constructors
| Improve this Doc View SourceListboxItemChangingArgs(IStringItem, Int32)
Initializes a new instance of the ListboxItemChangingArgs class.
Declaration
public ListboxItemChangingArgs(IStringItem item, int index)
Parameters
Type | Name | Description |
---|---|---|
IStringItem | item | Item. |
System.Int32 | index | Index. |
Properties
| Improve this Doc View SourceShouldCancel
A subscriber of the event can canel processing the item selection by setting this property to true.
Declaration
public bool ShouldCancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|