diff options
Diffstat (limited to 'Xamarin.PropertyEditing.Windows.Standalone')
-rw-r--r-- | Xamarin.PropertyEditing.Windows.Standalone/MainWindow.xaml.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Xamarin.PropertyEditing.Windows.Standalone/MainWindow.xaml.cs b/Xamarin.PropertyEditing.Windows.Standalone/MainWindow.xaml.cs index 9508b85..0089d31 100644 --- a/Xamarin.PropertyEditing.Windows.Standalone/MainWindow.xaml.cs +++ b/Xamarin.PropertyEditing.Windows.Standalone/MainWindow.xaml.cs @@ -1,3 +1,5 @@ +using System; +using System.Collections.Generic; using System.Windows; using System.Windows.Controls; using Xamarin.PropertyEditing.Drawing; @@ -13,6 +15,12 @@ namespace Xamarin.PropertyEditing.Windows.Standalone public MainWindow () { InitializeComponent (); + this.panel.TargetPlatform = new TargetPlatform { + SupportsCustomExpressions = true, + GroupedTypes = new Dictionary<Type, string> { + { typeof(CommonBrush), "Brush" } + } + }; this.panel.EditorProvider = new MockEditorProvider (); } |