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

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