Browse Source

Make checkbox work.

Steven Kirk 10 years ago
parent
commit
4d2461e156
1 changed files with 6 additions and 0 deletions
  1. 6 0
      samples/XamlTestApplicationPcl/CheckBox.paml

+ 6 - 0
samples/XamlTestApplicationPcl/CheckBox.paml

@@ -27,4 +27,10 @@
       </ControlTemplate>
     </Setter>
   </Style>
+  <Style Selector="CheckBox /template/ Path#checkMark">
+    <Setter Property="IsVisible" Value="False"/>
+  </Style>
+  <Style Selector="CheckBox:checked /template/ Path#checkMark">
+    <Setter Property="IsVisible" Value="True"/>
+  </Style>
 </Styles>