ItemRoutedEventArgs<T> Class
Provides event arguments for an item-related routed event.
public class ItemRoutedEventArgs<T> : RoutedEventArgs
- Type Parameters:
-
T-The type of the item.
- Inheritance:
- object EventArgs RoutedEventArgs object
- Derived:
- ContextMenuItemRoutedEventArgs DependencyObjectItemRoutedEventArgs ObjectItemRoutedEventArgs
Constructors
ItemRoutedEventArgs(T)
Initializes an instance of the class.
public ItemRoutedEventArgs(T item)
| Parameter | Type | Description |
|---|---|---|
| item | T | The item that is the focus of this event. |
ItemRoutedEventArgs(T, RoutedEvent?)
Initializes an instance of the class.
public ItemRoutedEventArgs(T item, RoutedEvent? routedEvent)
| Parameter | Type | Description |
|---|---|---|
| item | T | The item that is the focus of this event. |
| routedEvent | RoutedEvent | The routed event identifier for this event arguments instance. |
ItemRoutedEventArgs(T, RoutedEvent?, object?)
Provides event arguments for an item-related routed event.
public ItemRoutedEventArgs(T item, RoutedEvent? routedEvent, object? source)
| Parameter | Type | Description |
|---|---|---|
| item | T | The item that is the focus of this event. |
| routedEvent | RoutedEvent | The routed event identifier for this event arguments instance. |
| source | object | An alternate source that will be reported when the event is handled. |
Properties
Item
The item that is the focus of this event.
public T Item { get; set; }
Property Value
- T
Inherited Members
- EventArgs.Empty
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()