WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ListBoxTextChangingEventArgs

    Show / Hide Table of Contents

    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 Description
    System.Int32

    NewText

    Returns the new text for the edited row in the list.

    Declaration
    public string NewText { get; }
    Property Value
    Type Description
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved