diff options
author | Dominique Louis <dominique@MININT-Rock.fareast.corp.microsoft.com> | 2018-12-10 16:32:54 +0300 |
---|---|---|
committer | Dominique Louis <dominique@MININT-85NL3HC.europe.corp.microsoft.com> | 2019-01-10 18:02:51 +0300 |
commit | a4b2cb39a58f574a6d9e8a0cc7531e0d27d10dff (patch) | |
tree | 73ba68363bff8eeb4f4b32ee00d797199365236f /Xamarin.PropertyEditing.Tests | |
parent | cd248d8fa5306f3ab05fabc72d6e869dd616ba9a (diff) |
[Mac] Initial InputMode implementation.
Diffstat (limited to 'Xamarin.PropertyEditing.Tests')
-rw-r--r-- | Xamarin.PropertyEditing.Tests/MockControls/MockSampleControl.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Xamarin.PropertyEditing.Tests/MockControls/MockSampleControl.cs b/Xamarin.PropertyEditing.Tests/MockControls/MockSampleControl.cs index c724cc1..8e3765b 100644 --- a/Xamarin.PropertyEditing.Tests/MockControls/MockSampleControl.cs +++ b/Xamarin.PropertyEditing.Tests/MockControls/MockSampleControl.cs @@ -52,6 +52,8 @@ namespace Xamarin.PropertyEditing.Tests.MockControls AddReadOnlyProperty<CommonThickness> ("ReadOnlyThickness", ReadOnly); AddProperty<NotImplemented> ("Uncategorized", None); + AddProperty<string> ("ReadOnlyStringWithInputMode", ReadOnly, canWrite: false, flag: true, valueSources: ValueSources.Local | ValueSources.Resource | ValueSources.Binding, inputModes: new[] { new InputMode ("Auto", true), new InputMode ("Star"), new InputMode ("Pixel"), }); + AddProperty<string> ("StringWithInputMode", ReadWrite, valueSources: ValueSources.Local | ValueSources.Resource | ValueSources.Binding, inputModes: new[] { new InputMode ("Auto", true), new InputMode ("Star"), new InputMode ("Pixel"), }); // TODO: Move the declaration of this property to MockSampleControl once SolidBrush is supported on both platforms. this.brushPropertyInfo = new MockBrushPropertyInfo ( |