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

前端 未结 3 1952
遥遥无期
遥遥无期 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:42

    Since you gave a name to your button, you can use the Binding ElementName parameter:

    
    

提交回复
热议问题