summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Xaml.Design/AttributeTableBuilder.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Xaml.Design/AttributeTableBuilder.cs')
-rw-r--r--Xamarin.Forms.Xaml.Design/AttributeTableBuilder.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/Xamarin.Forms.Xaml.Design/AttributeTableBuilder.cs b/Xamarin.Forms.Xaml.Design/AttributeTableBuilder.cs
new file mode 100644
index 00000000..4b3689b6
--- /dev/null
+++ b/Xamarin.Forms.Xaml.Design/AttributeTableBuilder.cs
@@ -0,0 +1,14 @@
+´╗┐using Microsoft.Windows.Design;
+
+namespace Xamarin.Forms.Xaml.Design
+{
+ class AttributeTableBuilder : Microsoft.Windows.Design.Metadata.AttributeTableBuilder
+ {
+ public AttributeTableBuilder()
+ {
+ // Turn off validation of values, which doesn't work for OnPlatform/OnIdiom
+ AddCustomAttributes(typeof (ArrayExtension).Assembly,
+ new XmlnsSupportsValidationAttribute("http://xamarin.com/schemas/2014/forms", false));
+ }
+ }
+} \ No newline at end of file