diff options
author | Eric Maupin <ermaup@microsoft.com> | 2019-09-24 19:21:09 +0300 |
---|---|---|
committer | Eric Maupin <ermaup@microsoft.com> | 2019-09-24 19:30:32 +0300 |
commit | e37dd9438838fb294f160f03b8e91172ff5197c2 (patch) | |
tree | 2671089bd4366d123c9ae6b4b7c702f26979e1bd /Xamarin.PropertyEditing.Tests | |
parent | 45ff1775a2c50bdad3e398f0b86ec910f1adfd62 (diff) |
[mac] Predefined should support reuse
Diffstat (limited to 'Xamarin.PropertyEditing.Tests')
-rw-r--r-- | Xamarin.PropertyEditing.Tests/MockControls/MockSampleControl.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Xamarin.PropertyEditing.Tests/MockControls/MockSampleControl.cs b/Xamarin.PropertyEditing.Tests/MockControls/MockSampleControl.cs index 0a307bf..8fec0e1 100644 --- a/Xamarin.PropertyEditing.Tests/MockControls/MockSampleControl.cs +++ b/Xamarin.PropertyEditing.Tests/MockControls/MockSampleControl.cs @@ -23,6 +23,7 @@ namespace Xamarin.PropertyEditing.Tests.MockControls AddProperty<string> ("String", ReadWrite, valueSources: ValueSources.Local | ValueSources.Resource | ValueSources.Binding); AddProperty<int> ("Width", ReadWrite, valueSources: ValueSources.Local | ValueSources.Resource | ValueSources.Binding, inputModes: new[] { new InputMode("Auto", true), new InputMode("Star"), new InputMode("Pixel"), }); AddProperty<Enumeration> ("Enumeration", ReadWrite, constrained: false); + AddProperty<Enumeration> ("ConstrainedList", ReadWrite, constrained: true); AddProperty<string> ("StringV", ReadWrite, valueSources: ValueSources.Local | ValueSources.Resource | ValueSources.Binding, options: new [] { new PropertyVariationOption ("Width", "Compact"), |