Styling the indeterminate state of a WPF checkbox

后端 未结 9 2088
情话喂你
情话喂你 2021-02-04 07:30

I want to style the indeterminate state of a WPF checkbox. We have a treeview control with checkboxes, and we want the indeterminate state to represent that some descendants are

9条回答
  •  Happy的楠姐
    2021-02-04 07:51

    Have you thought about using SimpleStyles as the base for control?

    ExpressionSimpleStyles

    By selecting this control from the Assets panel, Expression Blend will place a new resource dictonary in your project that you can use to modify the style as you please. Might be a better starting point than trying to hack into the Chrome for the standard checkbox.

提交回复
热议问题