diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2020-04-21 15:45:23 +0200 |
|---|---|---|
| committer | j-p <jp_bruyere@hotmail.com> | 2020-05-10 00:50:02 +0200 |
| commit | df2ad1e48d1aba38e93834bc89566761d56d35ff (patch) | |
| tree | 235f96f4afcbfb226a9f8825e1d966a991a724ed /Samples/BasicTests/BasicTests.cs | |
| parent | 6b4d2ea66d5312a2494d49beb6d868da68f11e9d (diff) | |
add facilities for using icons for EnumSelector + path parsing documentation and test
Diffstat (limited to 'Samples/BasicTests/BasicTests.cs')
| -rw-r--r-- | Samples/BasicTests/BasicTests.cs | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/Samples/BasicTests/BasicTests.cs b/Samples/BasicTests/BasicTests.cs index 8d76b31e..90917302 100644 --- a/Samples/BasicTests/BasicTests.cs +++ b/Samples/BasicTests/BasicTests.cs @@ -32,8 +32,9 @@ namespace tests //testFiles = new string [] { @"Interfaces/Experimental/testDock.crow" }; //testFiles = new string [] { @"Interfaces/Divers/welcome.crow" }; //testFiles = new string [] { @"Interfaces/TemplatedGroup/3.crow" }; - //testFiles = new string [] { @"Interfaces/Divers/perfMeasures.crow" }; - testFiles = new string [] { @"Interfaces/Divers/colorPicker2.crow" }; + //testFiles = new string [] { @"Interfaces/Divers/testShape.crow" }; + testFiles = new string [] { @"Interfaces/TemplatedControl/testEnumSelector.crow" }; + //testFiles = new string [] { @"Interfaces/Divers/colorPicker2.crow" }; testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/GraphicObject", "*.crow")).ToArray (); testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/Container", "*.crow")).ToArray (); testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/Group", "*.crow")).ToArray (); @@ -126,6 +127,16 @@ namespace tests NotifyValueChanged ("IntValue", intValue); } } + VerticalAlignment currentVAlign; + public VerticalAlignment CurrentVAlign { + get => currentVAlign; + set { + if (currentVAlign == value) + return; + currentVAlign = value; + NotifyValueChanged ("CurrentVAlign", currentVAlign); + } + } void onSpinnerValueChange (object sender, ValueChangeEventArgs e) { if (e.MemberName != "Value") |