Kirti Deshpande

Kirti Deshpande

  • 1.5k
  • 108
  • 14.8k

how to chenge Chekmark colour of check box

Jun 28 2021 1:48 PM

Hi

I'm trying to replace the  colour of checkmark of check box.I am looking for style like shown below

I found already a template on MSDN ( http://msdn.microsoft.com/en-us/library/ms752319%28v=vs.110%29.aspx ), but it looks completely different.

And when i am trying to modify it i am getting crossmark inside the check box insted checkmar

I am looking for exctly same design as below

one more thing what should be the correct value for Data to get checkmark inside the checkbox

<Path Visibility="Collapsed" Width="7" Height="7" x:Name="CheckMark" SnapsToDevicePixels="False" StrokeThickness="2" Data="M 0 0 L 7 7 M 0 7 L 7 0">
<Path.Stroke>
<SolidColorBrush Color="{DynamicResource GlyphColor}" />
</Path.Stroke>
</Path>

Thank you