diff options
author | Eric Maupin <ermaup@microsoft.com> | 2018-08-31 20:55:22 +0300 |
---|---|---|
committer | Eric Maupin <ermaup@microsoft.com> | 2018-09-05 00:02:34 +0300 |
commit | 1afb2f28df3a9516c3cd42f6c4889d2122abe454 (patch) | |
tree | 3e946545dac346c32581b560788e5168b5e3c953 /Xamarin.PropertyEditing.Windows.Standalone | |
parent | 738949a696525c3166ef8da269f522b525fdcc19 (diff) |
[Core] Add ICompleteValues
This is the most basic version of this to support the status quo for
Android. The hard part is really the UI, so this will get us a
significant part of the way towards a more robust version.
Diffstat (limited to 'Xamarin.PropertyEditing.Windows.Standalone')
-rw-r--r-- | Xamarin.PropertyEditing.Windows.Standalone/MainWindow.xaml.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.PropertyEditing.Windows.Standalone/MainWindow.xaml.cs b/Xamarin.PropertyEditing.Windows.Standalone/MainWindow.xaml.cs index 28f69b7..d543269 100644 --- a/Xamarin.PropertyEditing.Windows.Standalone/MainWindow.xaml.cs +++ b/Xamarin.PropertyEditing.Windows.Standalone/MainWindow.xaml.cs @@ -15,7 +15,8 @@ namespace Xamarin.PropertyEditing.Windows.Standalone public MainWindow () { InitializeComponent (); - this.panel.TargetPlatform = new TargetPlatform (new MockEditorProvider(), new MockResourceProvider(), new MockBindingProvider()) { + var resources = new MockResourceProvider(); + this.panel.TargetPlatform = new TargetPlatform (new MockEditorProvider (resources), resources, new MockBindingProvider()) { SupportsCustomExpressions = true, SupportsMaterialDesign = true, SupportsBrushOpacity = false, @@ -24,7 +25,6 @@ namespace Xamarin.PropertyEditing.Windows.Standalone } }; - this.panel.ResourceProvider = new MockResourceProvider (); #if USE_VS_ICONS this.panel.Resources.MergedDictionaries.Add (new ResourceDictionary { Source = new Uri ("pack://application:,,,/ProppyIcons.xaml", UriKind.RelativeOrAbsolute) |