Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/Xamarin.PropertyEditing.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Maupin <ermaup@microsoft.com>2018-07-19 21:22:59 +0300
committerEric Maupin <ermaup@microsoft.com>2018-07-19 21:22:59 +0300
commitd2e0a4a28d4d573cb0e399bf8afb5c975cc7c1fb (patch)
tree9efcfd9f858732c930fed269042d30edabfc2a3f /Xamarin.PropertyEditing.Mac.Standalone
parent2bd78ab81b5e6ff7b91e491d3851329ed504b637 (diff)
[mac] Move to centralized providers in TargetPlatform
Diffstat (limited to 'Xamarin.PropertyEditing.Mac.Standalone')
-rw-r--r--Xamarin.PropertyEditing.Mac.Standalone/ViewController.cs3
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 {