예제 #1
0
        public FileSelectorUserControl()
        {
            InitializeComponent();


            (this.DataContext as FileSelectorViewModel)
            .SuggestViewModel
            .WhenAnyValue(a => a.DirectorySuggestion)
            .Subscribe(a =>
            {
                try
                {
                    if (a != null && a.Path != null)
                    {
                        Breadcrumb.AddLast(a);
                    }
                }
                catch (Exception ex)
                {
                }
            });
        }