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 a new instance of the BreadcrumbConvertItemEventArgs 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 a new instance of the BreadcrumbConvertItemEventArgs 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 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 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

Gets the item.

public object Item { get; }

Property Value

object:

The item or null.

Path

Gets or sets the path.

public string Path { get; set; }

Property Value

string:

The path.

RootItem

Gets the root item.

public object RootItem { get; }

Property Value

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

IList:

The trail.

Inherited Members