TreeView for WinForms | ComponentOne
C1.Win.TreeView Namespace / C1TreeView Class / SelectionChanging Event

In This Topic
    SelectionChanging Event (C1TreeView)
    In This Topic
    Occurs when the tree node is being changed selected state. Allows to cancel the change.
    Syntax
    'Declaration
     
    
    <C1CategoryAttribute("Behavior")>
    <C1DescriptionAttribute("C1TreeView.SelectedChanging", "Occurs when the tree node is being changed selected state. Allows to cancel the change.")>
    Public Event SelectionChanging As C1TreeViewCancelEventHandler
    [C1Category("Behavior")]
    [C1Description("C1TreeView.SelectedChanging", "Occurs when the tree node is being changed selected state. Allows to cancel the change.")]
    public event C1TreeViewCancelEventHandler SelectionChanging
    Event Data

    The event handler receives an argument of type C1TreeViewCancelEventArgs containing data related to this event. The following C1TreeViewCancelEventArgs properties provide information specific to this event.

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    Gets the tree node that has been checked, expanded, collapsed, or selected.  
    See Also