aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/common/ui/Interfaces/TemplatedControl
diff options
context:
space:
mode:
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>2020-04-21 15:45:23 +0200
committerj-p <jp_bruyere@hotmail.com>2020-05-10 00:50:02 +0200
commitdf2ad1e48d1aba38e93834bc89566761d56d35ff (patch)
tree235f96f4afcbfb226a9f8825e1d966a991a724ed /Samples/common/ui/Interfaces/TemplatedControl
parent6b4d2ea66d5312a2494d49beb6d868da68f11e9d (diff)
add facilities for using icons for EnumSelector + path parsing documentation and test
Diffstat (limited to 'Samples/common/ui/Interfaces/TemplatedControl')
-rw-r--r--Samples/common/ui/Interfaces/TemplatedControl/testEnumSelector.crow16
1 files changed, 16 insertions, 0 deletions
diff --git a/Samples/common/ui/Interfaces/TemplatedControl/testEnumSelector.crow b/Samples/common/ui/Interfaces/TemplatedControl/testEnumSelector.crow
new file mode 100644
index 00000000..303f5432
--- /dev/null
+++ b/Samples/common/ui/Interfaces/TemplatedControl/testEnumSelector.crow
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<VerticalStack Spacing="5" Margin="5">
+ <Image Path="#images.valign.svg" Fit="True" Background="White" Margin="5" SvgSub="{²CurrentVAlign}"/>
+ <Border Height="100" Width="Fit" Background="Jet">
+ <Label Margin="5" Text="vertical aligned text" VerticalAlignment="{CurrentVAlign}" Background="DarkBlue"/>
+ </Border>
+ <EnumSelector Name="valign" Caption="Vertical Alignment" EnumValue="{²CurrentVAlign}" />
+ <EnumSelector RadioButtonStyle="CheckBox3" Name="valign" Caption="Vertical Alignment" EnumValue="{²CurrentVAlign}" >
+ <Template>
+ <VerticalStack Name="Content" Width="100"/>
+ </Template>
+ </EnumSelector>
+ <EnumSelector RadioButtonStyle="CheckBox2" Name="valign" Caption="Vertical Alignment" EnumValue="{²CurrentVAlign}" />
+ <EnumSelector RadioButtonStyle="valignStyle" Name="valign1" Caption="Vertical Alignment" EnumValue="{²CurrentVAlign}" />
+ <EnumSelector RadioButtonStyle="valignStyle2" Name="valign2" Caption="Vertical Alignment" EnumValue="{²CurrentVAlign}" />
+</VerticalStack> \ No newline at end of file