Bind a fill property in a path to a Foreground property from the ContentControl in a style

前端 未结 3 1965
遥遥无期
遥遥无期 2021-02-13 13:14

I have silverlight problem I\'v used two days to fight: a template with a style controls a button. In the concrete button I have a canvas with paths as content. The problem is t

3条回答
  •  一向
    一向 (楼主)
    2021-02-13 13:38

    Actually instead of setting Canvas as Content in Button you can put it in Templete.

          
    

    you can do anything you want if you'll use this scenario.

提交回复
热议问题