ComponentOne Basic Library for WPF and Silverlight
IsExpandedChanged Event (C1TreeViewItem)


C1.WPF Namespace > C1TreeViewItem Class : IsExpandedChanged Event
Event raised when the IsExpanded property has changed.
Syntax
'Declaration
 
<System.ObsoleteAttribute("Use Expanding/Expanded and Collapsing/Collapsed events instead")>
Public Event IsExpandedChanged As System.EventHandler(Of PropertyChangedEventArgs(Of Boolean))
'Usage
 
Dim instance As C1TreeViewItem
Dim handler As System.EventHandler(Of PropertyChangedEventArgs(Of Boolean))
 
AddHandler instance.IsExpandedChanged, handler
[System.Obsolete("Use Expanding/Expanded and Collapsing/Collapsed events instead")]
public event System.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