Files
modernkeepass/ModernKeePass/Views/UserControls/BreadCrumbUserControl.xaml.cs
Geoffroy BONNEVILLE 90c592d7ee Lots of bug corrections
WIP - still lots left
2020-03-31 19:19:02 +02:00

30 lines
949 B
C#

using System.Collections.Generic;
using Windows.UI.Xaml;
using ModernKeePass.Application.Common.Interfaces;
// The User Control item template is documented at http://go.microsoft.com/fwlink/?LinkId=234236
namespace ModernKeePass.Views.UserControls
{
public sealed partial class BreadCrumbUserControl
{
public BreadCrumbUserControl()
{
InitializeComponent();
}
public IEnumerable<IEntityVm> ItemsSource
{
get { return (IEnumerable<IEntityVm>)GetValue(ItemsSourceProperty); }
set { SetValue(ItemsSourceProperty, value); }
}
public static readonly DependencyProperty ItemsSourceProperty =
DependencyProperty.Register(
"ItemsSource",
typeof(IEnumerable<IEntityVm>),
typeof(BreadCrumbUserControl),
new PropertyMetadata(new Stack<IEntityVm>(), (o, args) => { }));
}
}