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 <me@ermau.com>2019-01-10 19:51:22 +0300
committerGitHub <noreply@github.com>2019-01-10 19:51:22 +0300
commit1ef475122d564e714f51a3bb61e69e90b992e544 (patch)
tree920cef2ca0b5ea2f906827d6257cb521357e2a83 /Xamarin.PropertyEditing.Tests
parent40a8abc96d213b8a00f41a04d7bc494444864cf0 (diff)
parenta4b2cb39a58f574a6d9e8a0cc7531e0d27d10dff (diff)
Merge pull request #471 from xamarin/dominique-ValueInputMode
[Mac] Initial InputMode implementation.
Diffstat (limited to 'Xamarin.PropertyEditing.Tests')
-rw-r--r--Xamarin.PropertyEditing.Tests/MockControls/MockSampleControl.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Xamarin.PropertyEditing.Tests/MockControls/MockSampleControl.cs b/Xamarin.PropertyEditing.Tests/MockControls/MockSampleControl.cs
index aa0f609..b92fb13 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 (