BreadcrumbConvertItemEventArgs Class
Provides event arguments for the ConvertItem routed event.
public class BreadcrumbConvertItemEventArgs : RoutedEventArgs
- Inheritance:
- System.Object System.EventArgs System.Windows.RoutedEventArgs Object
Remarks
This class with have either Item or Path set to an appropriate source value. The event handler is responsible for populating either Path or Trail, specified by TargetType, based on the source value.
Constructors
BreadcrumbConvertItemEventArgs(BreadcrumbConvertItemTargetType, Object)
Initializes a new instance of the BreadcrumbConvertItemEventArgs
class.
public BreadcrumbConvertItemEventArgs(BreadcrumbConvertItemTargetType targetType, object rootItem)
Parameter | Type | Description |
---|---|---|
targetType | BreadcrumbConvertItemTargetType | The target type. |
rootItem | System.Object | The root item. |
BreadcrumbConvertItemEventArgs(BreadcrumbConvertItemTargetType, Object, RoutedEvent)
Initializes a new instance of the BreadcrumbConvertItemEventArgs
class.
public BreadcrumbConvertItemEventArgs(BreadcrumbConvertItemTargetType targetType, object rootItem, RoutedEvent routedEvent)
Parameter | Type | Description |
---|---|---|
targetType | BreadcrumbConvertItemTargetType | The target type. |
rootItem | System.Object | The root item. |
routedEvent | System.Windows.RoutedEvent | The routed event identifier for this event arguments instance. |
BreadcrumbConvertItemEventArgs(BreadcrumbConvertItemTargetType, Object, RoutedEvent, Object)
Initializes a new instance of the BreadcrumbConvertItemEventArgs
class.
public BreadcrumbConvertItemEventArgs(BreadcrumbConvertItemTargetType targetType, object rootItem, RoutedEvent routedEvent, object source)
Parameter | Type | Description |
---|---|---|
targetType | BreadcrumbConvertItemTargetType | The target type. |
rootItem | System.Object | The root item. |
routedEvent | System.Windows.RoutedEvent | The routed event identifier for this event arguments instance. |
source | System.Object | An alternate source that will be reported when the event is handled. |
Properties
Item
Gets the item.
public object Item { get; }
Property Value
- System.Object:
The item or
null
.
Path
Gets or sets the path.
public string Path { get; set; }
Property Value
- System.String:
The path.
RootItem
Gets the root item.
public object RootItem { get; }
Property Value
- System.Object:
The root item.
TargetType
Gets the target type.
public BreadcrumbConvertItemTargetType TargetType { get; }
Property Value
- BreadcrumbConvertItemTargetType:
The target type.
Trail
Gets or sets the trail.
public IList Trail { get; set; }
Property Value
- System.Collections.IList:
The trail.
Inherited Members
- 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()