int frameCpt = 0;\r
int idx = 0;\r
string[] testFiles = {\r
- "testSpinner.goml",\r
- "test_Listbox.goml",\r
+// "testSpinner.goml",\r
+// "test_Listbox.goml",\r
+ "testRadioButton2.goml",\r
"fps.goml",\r
"testCheckbox.goml",\r
"testExpandable.goml",\r
}\r
protected override void OnKeyDown (KeyboardKeyEventArgs e)\r
{\r
- if (FocusedWidget != null) {\r
- base.OnKeyDown (e);\r
- return;\r
- }\r
+// if (FocusedWidget != null) {\r
+// base.OnKeyDown (e);\r
+// return;\r
+// }\r
if (e.Key == Key.Escape) {\r
this.Quit ();\r
return;\r
--- /dev/null
+<?xml version="1.0"?>\r
+<VerticalStack Width="200" Height="-1" Margin="20" Background="DimGray">\r
+ <RadioButton Caption="Radio1"/>\r
+ <RadioButton Caption="Radio2" IsChecked="true"/>\r
+ <RadioButton Caption="Radio3"/>\r
+ <RadioButton Caption="Radio4">\r
+ <Template>\r
+ <HorizontalStack Spacing="1" Height="{../TemplatedHeight}" Width="{../TemplatedWidth}">\r
+ <Image Margin="2" Width="14" Height="14" Path="{../../Image}" SvgSub="{../../SvgSub}"/>\r
+ <Label Text="{../../Caption}" Height="{../../TemplatedHeight}" Width="{../../TemplatedWidth}"/>\r
+ </HorizontalStack>\r
+ </Template>\r
+ </RadioButton>\r
+</VerticalStack>\r
+\r
<None Include="Interfaces\testFileDialog.goml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
+ <None Include="Interfaces\testRadioButton2.goml">
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </None>
</ItemGroup>
<ItemGroup>
<Folder Include="Interfaces\" />