Files
ShrlAlgoToolkit/WPFluent/Controls/BreadcrumbBar/BreadcrumbBarItemClickedEventArgs.cs

30 lines
727 B
C#
Raw Normal View History


// Based on Windows UI Library
// Copyright(c) Microsoft Corporation.All rights reserved.
// ReSharper disable once CheckNamespace
namespace WPFluent.Controls;
public sealed class BreadcrumbBarItemClickedEventArgs : RoutedEventArgs
{
public BreadcrumbBarItemClickedEventArgs(RoutedEvent routedEvent, object source, object item, int index) : base(
routedEvent,
source)
{
Item = item;
Index = index;
}
/// <summary>
/// Gets the index of the item that was clicked.
/// </summary>
public int Index { get; }
/// <summary>
/// Gets the Content property value of the BreadcrumbBarItem that is clicked.
/// </summary>
public object Item { get; }
}