In This Article

BreadcrumbConvertItemEventArgs Class

Provides event arguments for the ConvertItem routed event.

public class BreadcrumbConvertItemEventArgs : RoutedEventArgs
Inheritance:
object EventArgs 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 an instance of the class.

public BreadcrumbConvertItemEventArgs(BreadcrumbConvertItemTargetType targetType, object? rootItem)
Parameter Type Description
targetType BreadcrumbConvertItemTargetType

The target type.

rootItem object

The root item.

BreadcrumbConvertItemEventArgs(BreadcrumbConvertItemTargetType, object?, RoutedEvent)

Initializes an instance of the class.

public BreadcrumbConvertItemEventArgs(BreadcrumbConvertItemTargetType targetType, object? rootItem, RoutedEvent routedEvent)
Parameter Type Description
targetType BreadcrumbConvertItemTargetType

The target type.

rootItem object

The root item.

routedEvent RoutedEvent

The routed event identifier for this event arguments instance.

BreadcrumbConvertItemEventArgs(BreadcrumbConvertItemTargetType, object?, RoutedEvent?, object?)

Initializes an instance of the class.

public BreadcrumbConvertItemEventArgs(BreadcrumbConvertItemTargetType targetType, object? rootItem, RoutedEvent? routedEvent, object? source)
Parameter Type Description
targetType BreadcrumbConvertItemTargetType

The target type.

rootItem object

The root item.

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.

public object? Item { get; }

Property Value

object

Path

The path.

public string? Path { get; set; }

Property Value

string

RootItem

The root item.

public object? RootItem { get; }

Property Value

object

TargetType

The target type.

public BreadcrumbConvertItemTargetType TargetType { get; }

Property Value

BreadcrumbConvertItemTargetType

Trail

The trail.

public IList? Trail { get; set; }

Property Value

IList

Inherited Members

Extension Methods