diff options
author | Eric Maupin <ermaup@microsoft.com> | 2018-07-19 21:22:59 +0300 |
---|---|---|
committer | Eric Maupin <ermaup@microsoft.com> | 2018-07-19 21:22:59 +0300 |
commit | d2e0a4a28d4d573cb0e399bf8afb5c975cc7c1fb (patch) | |
tree | 9efcfd9f858732c930fed269042d30edabfc2a3f /Xamarin.PropertyEditing.Mac.Standalone | |
parent | 2bd78ab81b5e6ff7b91e491d3851329ed504b637 (diff) |
[mac] Move to centralized providers in TargetPlatform
Diffstat (limited to 'Xamarin.PropertyEditing.Mac.Standalone')
-rw-r--r-- | Xamarin.PropertyEditing.Mac.Standalone/ViewController.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Xamarin.PropertyEditing.Mac.Standalone/ViewController.cs b/Xamarin.PropertyEditing.Mac.Standalone/ViewController.cs index dcbe1cb..8193331 100644 --- a/Xamarin.PropertyEditing.Mac.Standalone/ViewController.cs +++ b/Xamarin.PropertyEditing.Mac.Standalone/ViewController.cs @@ -20,14 +20,13 @@ namespace Xamarin.PropertyEditing.Mac.Standalone base.ViewDidLoad (); // Do any additional setup after loading the view. - PropertyPanel.TargetPlatform = new TargetPlatform (new MockEditorProvider ()) { + PropertyPanel.TargetPlatform = new TargetPlatform (new MockEditorProvider (), new MockResourceProvider(), new MockBindingProvider()) { SupportsCustomExpressions = true, SupportsMaterialDesign = true, GroupedTypes = new Dictionary<Type, string> { { typeof(CommonBrush), "Brush" } } }; - PropertyPanel.ResourceProvider = new MockResourceProvider (); } public override NSObject RepresentedObject { |