From df2ad1e48d1aba38e93834bc89566761d56d35ff Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Tue, 21 Apr 2020 15:45:23 +0200 Subject: add facilities for using icons for EnumSelector + path parsing documentation and test --- Samples/BasicTests/BasicTests.cs | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'Samples/BasicTests/BasicTests.cs') 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") -- cgit v1.3.1-4-g156e