diff --git a/source/WindowsAPICodePack/Shell/ExplorerBrowser/ExplorerBrowser.WPF.xaml.cs b/source/WindowsAPICodePack/Shell/ExplorerBrowser/ExplorerBrowser.WPF.xaml.cs
index 6829ed1d..e70686cf 100644
--- a/source/WindowsAPICodePack/Shell/ExplorerBrowser/ExplorerBrowser.WPF.xaml.cs
+++ b/source/WindowsAPICodePack/Shell/ExplorerBrowser/ExplorerBrowser.WPF.xaml.cs
@@ -13,6 +13,24 @@ namespace Microsoft.WindowsAPICodePack.Controls.WindowsPresentationFoundation
/// Interaction logic for ExplorerBrowser.xaml
public partial class ExplorerBrowser : UserControl, IDisposable
{
+ private static readonly DependencyPropertyKey ItemsPropertyKey =
+ DependencyProperty.RegisterReadOnly(
+ "Items", typeof(ObservableCollection),
+ typeof(ExplorerBrowser),
+ new PropertyMetadata(null));
+
+ private static readonly DependencyPropertyKey NavigationLogPropertyKey =
+ DependencyProperty.RegisterReadOnly(
+ "NavigationLog", typeof(ObservableCollection),
+ typeof(ExplorerBrowser),
+ new PropertyMetadata(null));
+
+ private static readonly DependencyPropertyKey SelectedItemsPropertyKey =
+ DependencyProperty.RegisterReadOnly(
+ "SelectedItems", typeof(ObservableCollection),
+ typeof(ExplorerBrowser),
+ new PropertyMetadata(null));
+
/// The items in the ExplorerBrowser window
public static readonly DependencyProperty ItemsProperty = ItemsPropertyKey.DependencyProperty;
@@ -185,24 +203,6 @@ public partial class ExplorerBrowser : UserControl, IDisposable
typeof(ExplorerBrowser),
new PropertyMetadata(ExplorerBrowserViewMode.Auto, OnViewModeChanged));
- private static readonly DependencyPropertyKey ItemsPropertyKey =
- DependencyProperty.RegisterReadOnly(
- "Items", typeof(ObservableCollection),
- typeof(ExplorerBrowser),
- new PropertyMetadata(null));
-
- private static readonly DependencyPropertyKey NavigationLogPropertyKey =
- DependencyProperty.RegisterReadOnly(
- "NavigationLog", typeof(ObservableCollection),
- typeof(ExplorerBrowser),
- new PropertyMetadata(null));
-
- private static readonly DependencyPropertyKey SelectedItemsPropertyKey =
- DependencyProperty.RegisterReadOnly(
- "SelectedItems", typeof(ObservableCollection),
- typeof(ExplorerBrowser),
- new PropertyMetadata(null));
-
private readonly DispatcherTimer dtCLRUpdater = new DispatcherTimer();
private readonly ObservableCollection items;