且构网

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

将命令从ViewModel绑定到UserControl中的事件

更新时间:2022-05-02 02:48:08

将滑块的value属性绑定到viewmodel中的double propfull。

Bind the value property of the slider to a double propfull in your viewmodel.

调用你想要的任何方法从propfull的setter开始运行。

Call whatever method you want to run from the setter of the propfull.