Example #1
0
        private static void OnCurrentFolderPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            PickerControl  s     = (PickerControl)sender;
            FileSystemItem?value = (FileSystemItem?)e.NewValue;

            s.CurrentFolderNamePath = value?.PathParts.GetNamePath();
        }
Example #2
0
 private static async void OnTypePropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
 {
     PickerControl s = (PickerControl)sender;
     await s.UpdateCurrentFolderItems(true);
 }