private static void OnNavigationLogIndexChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ExplorerBrowser instance = d as ExplorerBrowser; if (instance.ExplorerBrowserControl != null) { instance.ExplorerBrowserControl.NavigationLog.NavigateLog((int)e.NewValue); } }
private static void OnNavigateOnceChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ExplorerBrowser instance = d as ExplorerBrowser; if (instance.ExplorerBrowserControl != null) { instance.ExplorerBrowserControl.NavigationOptions.NavigateOnce = (bool)e.NewValue; } }
private static void OnQueryPaneChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ExplorerBrowser instance = d as ExplorerBrowser; if (instance.ExplorerBrowserControl != null) { instance.ExplorerBrowserControl.NavigationOptions.PaneVisibility.Query = (PaneVisibilityState)e.NewValue; } }
private static void OnThumbnailSizeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ExplorerBrowser instance = d as ExplorerBrowser; if (instance.ExplorerBrowserControl != null) { instance.ExplorerBrowserControl.ContentOptions.ThumbnailSize = (int)e.NewValue; } }
private static void OnSingleSelectionChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ExplorerBrowser instance = d as ExplorerBrowser; if (instance.ExplorerBrowserControl != null) { instance.ExplorerBrowserControl.ContentOptions.SingleSelection = (bool)e.NewValue; } }
private static void OnNoHeaderInAllViewsChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ExplorerBrowser instance = d as ExplorerBrowser; if (instance.ExplorerBrowserControl != null) { instance.ExplorerBrowserControl.ContentOptions.NoHeaderInAllViews = (bool)e.NewValue; } }
private static void navigationTargetChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ExplorerBrowser instance = d as ExplorerBrowser; if (instance.ExplorerBrowserControl.explorerBrowserControl != null) { instance.ExplorerBrowserControl.Navigate((ShellObject)e.NewValue); } else { instance.initialNavigationTarget = (ShellObject)e.NewValue; } }
private static void OnViewModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ExplorerBrowser instance = d as ExplorerBrowser; if (instance.ExplorerBrowserControl != null) { if (instance.ExplorerBrowserControl.explorerBrowserControl == null) { instance.initialViewMode = (ExplorerBrowserViewMode)e.NewValue; } else { instance.ExplorerBrowserControl.ContentOptions.ViewMode = (ExplorerBrowserViewMode)e.NewValue; } } }