diff options
Diffstat (limited to 'Xamarin.PropertyEditing.Windows/TypeSelectorWindow.xaml.cs')
-rw-r--r-- | Xamarin.PropertyEditing.Windows/TypeSelectorWindow.xaml.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.PropertyEditing.Windows/TypeSelectorWindow.xaml.cs b/Xamarin.PropertyEditing.Windows/TypeSelectorWindow.xaml.cs index c61cc2e..de96e47 100644 --- a/Xamarin.PropertyEditing.Windows/TypeSelectorWindow.xaml.cs +++ b/Xamarin.PropertyEditing.Windows/TypeSelectorWindow.xaml.cs @@ -10,9 +10,9 @@ namespace Xamarin.PropertyEditing.Windows { internal TypeSelectorWindow (IEnumerable<ResourceDictionary> mergedResources, AsyncValue<IReadOnlyDictionary<IAssemblyInfo, ILookup<string, ITypeInfo>>> assignableTypes) { - Resources.MergedDictionaries.AddItems (mergedResources); DataContext = new TypeSelectorViewModel (assignableTypes); InitializeComponent (); + Resources.MergedDictionaries.AddItems (mergedResources); } internal static ITypeInfo RequestType (FrameworkElement owner, AsyncValue<IReadOnlyDictionary<IAssemblyInfo, ILookup<string, ITypeInfo>>> assignableTypes) |