public static void OnBrowseTypeChangedCallback(DependencyObject sender, DependencyPropertyChangedEventArgs e) { FileBrowseControl fileBrowseControl = sender as FileBrowseControl; if (fileBrowseControl != null) { fileBrowseControl.BrowseType = (FileBrowseType)e.NewValue; fileBrowseControl.OnFileLocationChanged(); } }
private static void OnFileLocationChangedCallback(DependencyObject sender, DependencyPropertyChangedEventArgs e) { FileBrowseControl fileBrowseControl = sender as FileBrowseControl; if (fileBrowseControl != null) { if (!fileBrowseControl.SkipNext) { fileBrowseControl.OnFileLocationChanged(); } else { fileBrowseControl.SkipNext = false; } } }