TreeListBoxItemEventArgs Class
Provides event arguments for TreeListBox item-related events.
public class TreeListBoxItemEventArgs : CancelRoutedEventArgs
- Inheritance:
- object EventArgs RoutedEventArgs CancelRoutedEventArgs object
Constructors
TreeListBoxItemEventArgs(object, TreeListBoxItem?)
Initializes an instance of the class.
public TreeListBoxItemEventArgs(object item, TreeListBoxItem? container)
| Parameter | Type | Description |
|---|---|---|
| item | object | The TreeListBox data item. |
| container | TreeListBoxItem | The TreeListBoxItem container that wraps the Item. |
Properties
Container
The TreeListBoxItem container that wraps the Item.
public TreeListBoxItem? Container { get; }
Property Value
Remarks
This property may return null when the Item is not currently visible.
In that case a container might not yet have been generated for the item, or a prior container may have been recycled,
both due to UI virtualization.
Item
The TreeListBox data item.
Inherited Members
- CancelRoutedEventArgs.Cancel
- EventArgs.Empty
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()