且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用Binding在对象类型的基础上设置一个按钮

更新时间:2023-11-23 22:13:10

通过ValueConverter将按钮的IsEnabled属性绑定到您的对象。请参阅

http://www.wpftutorial.net/ValueConverters.html [ ^ ]



是清楚还是需要更多信息?
Bind IsEnabled property of button to your object over a ValueConverter. See
http://www.wpftutorial.net/ValueConverters.html[^]

Is it clear or do you need more information?