TreeListBoxItemEventArgs Class
Provides event arguments for TreeListBox item-related events.
public class TreeListBoxItemEventArgs : CancelRoutedEventArgs
- Inheritance:
- System.Object System.EventArgs System.Windows.RoutedEventArgs CancelRoutedEventArgs Object
Constructors
TreeListBoxItemEventArgs(Object, TreeListBoxItem)
Initializes a new instance of the TreeListBoxItemEventArgs class.
public TreeListBoxItemEventArgs(object item, TreeListBoxItem container)
Parameter | Type | Description |
---|---|---|
item | System.Object | The TreeListBox data item. |
container | TreeListBoxItem | The TreeListBoxItem container that wraps the Item. |
Properties
Container
Gets the TreeListBoxItem container that wraps the Item.
public TreeListBoxItem Container { get; }
Property Value
- TreeListBoxItem:
The TreeListBoxItem container that wraps the Item.
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
Gets the TreeListBox data item.
Inherited Members
- CancelRoutedEventArgs.Cancel
- System.EventArgs.Empty
- System.Object.ToString()
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()