开发者

I can't include RelayCommands

开发者 https://www.devze.com 2023-01-31 16:23 出处:网络
i wanted to include RelayCommands. I wanted to create an assembly to System.Windows.Input to use the ICommands, but the assembly is not available? What is wrong there? I have installed the .net framew

i wanted to include RelayCommands. I wanted to create an assembly to System.Windows.Input to use the ICommands, but the assembly is not available? What is wrong there? I have installed the .net framework Client Profile an Extended? Is it not available at t开发者_如何学JAVAhis packages?


System.Windows.Input does not exist as an assembly. System.Windows.Input is a namespace in the PresentationCore assembly. Also, RelayCommand is not a class that's available as part of the .Net framework. You'll either have to build your own or use one provided in an MVVM library.


System.Windows.Input is in the PresentationCore assembly. Just look up the type object explorer and check what assembly it is in. (click the namespace and you'll see the location).

0

精彩评论

暂无评论...
验证码 换一张
取 消