Show / Hide Table of Contents

    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.

    Inheritance
    System.Object
    ListboxItemArgs
    ListboxItemChangingArgs
    Inherited Members
    ListboxItemArgs.Item
    ListboxItemArgs.Index
    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 Source

    ListboxItemChangingArgs(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 Source

    ShouldCancel

    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

    true if should cancel; otherwise, false.

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX