diff options
Diffstat (limited to 'Xamarin.PropertyEditing.Windows/CollectionEditor.cs')
-rw-r--r-- | Xamarin.PropertyEditing.Windows/CollectionEditor.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Xamarin.PropertyEditing.Windows/CollectionEditor.cs b/Xamarin.PropertyEditing.Windows/CollectionEditor.cs index 41f7c01..3e37216 100644 --- a/Xamarin.PropertyEditing.Windows/CollectionEditor.cs +++ b/Xamarin.PropertyEditing.Windows/CollectionEditor.cs @@ -24,7 +24,8 @@ namespace Xamarin.PropertyEditing.Windows button.Click += (sender, args) => { var window = new CollectionEditorWindow (topLevel.Resources.MergedDictionaries) { - DataContext = DataContext + DataContext = DataContext, + Owner = Window.GetWindow (topLevel) }; window.ShowDialog (); |