我想从另一个按钮样式绑定到一个按钮样式
我需要在两个按钮之间做出某种考虑。我需要它们始终具有相同的样式..我知道滑动滑块时可以更改单词的字体大小..现在我需要应用类似的东西,但使用按钮的样式。 我正在寻找 XAML 上的一些东西,如果可能的话,不要通过 C# 来完成它!
I need to make some kind of minding between two buttons. I need that they always have the same style.. I know I can change the fontsize of a word when sliding a slider.. now I need to apply something like that but with the style of the buttons.
I'm looking something on XAML for not to do it through C# if possible!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在双向模式下绑定两个按钮。
当其中一个按钮的样式属性发生更改时,其他按钮的样式也会随之更改。
You can bind two button in two way mode.
When one of the buttons style property changes the others style will follow it.