ComponentOne FinancialChart for WPF
C1.WPF Namespace / C1TreeViewItem Class / IsExpandedChanged Event



In This Topic
    IsExpandedChanged Event
    In This Topic
    Event raised when the IsExpanded property has changed.
    Syntax
    'Declaration
     
    
    <ObsoleteAttribute("Use Expanding/Expanded and Collapsing/Collapsed events instead")>
    Public Event IsExpandedChanged As EventHandler(Of PropertyChangedEventArgs(Of Boolean))
    'Usage
     
    
    Dim instance As C1TreeViewItem
    Dim handler As EventHandler(Of PropertyChangedEventArgs(Of Boolean))
     
    AddHandler instance.IsExpandedChanged, handler
    [Obsolete("Use Expanding/Expanded and Collapsing/Collapsed events instead")]
    public event EventHandler<PropertyChangedEventArgs<bool>> IsExpandedChanged
    [Obsolete("Use Expanding/Expanded and Collapsing/Collapsed events instead")]
    public:
    event EventHandler<PropertyChangedEventArgs<bool>^>^ IsExpandedChanged
    Event Data

    The event handler receives an argument of type PropertyChangedEventArgs<T> containing data related to this event. The following PropertyChangedEventArgs<T> properties provide information specific to this event.

    PropertyDescription
    The value of the property after the change.  
    The value of the property before the change.  
    See Also