TreeListBoxItemExpansionEventArgs Class
Provides event arguments for TreeListBox item expand and collapse-related events.
public class TreeListBoxItemExpansionEventArgs : TreeListBoxItemEventArgs
- Inheritance:
- object EventArgs RoutedEventArgs CancelRoutedEventArgs TreeListBoxItemEventArgs object
Constructors
TreeListBoxItemExpansionEventArgs(object, TreeListBoxItem?, TreeExpansionKind, object?)
Initializes an instance of the class.
public TreeListBoxItemExpansionEventArgs(object item, TreeListBoxItem? container, TreeExpansionKind kind, object? sourceItem)
| Parameter | Type | Description |
|---|---|---|
| item | object | The TreeListBox data item. |
| container | TreeListBoxItem | The TreeListBoxItem container that wraps the Item. |
| kind | TreeExpansionKind | A TreeExpansionKind that specifies the kind of expansion. |
| sourceItem | object | The TreeListBox data item that triggered the expand/collapse, if not expanding/collapsing all items in the control. |
Properties
Kind
An TreeExpansionKind that specifies the kind of expansion.
SourceItem
The TreeListBox data item that triggered the expand/collapse, if not expanding/collapsing all items in the control.
Inherited Members
- TreeListBoxItemEventArgs.Container
- TreeListBoxItemEventArgs.Item
- CancelRoutedEventArgs.Cancel
- EventArgs.Empty
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()