I am going to use a user control developed by another team (in the same company), and for the developed application we are trying to describe all the data bindings in XAML.
Now, if I use a third-party user control, should I expect them to provide the underlying ViewModel with hooks for my code, or should I write code to bind the user control to the ViewModel of my choice?
Greetings
AWC
UserControl. , , , ViewModel.
ViewModel, , , , . ViewModel , . - WPF .
, ViewModel - . , .
. , , . :)
. viewmodel , , , , .
, , ( ) ( ). - , .
But, saying that not every control will need its own viewmodel, you should instead use the provided control as part of a larger user control and write a view model for that larger control.
Source: https://habr.com/ru/post/1726226/More articles:How to remotely debug a DLL in delphi 7 from scratch - delphiUsing sqlalchemy.sql with declarative ORM - sqlalchemyAPC vs pecl uploadprogress - phpthere is __construct () equivalent for extended classes - phpHow to get remote URI - gitHow to hide the subprocess console window? - visual-c ++ - 2008How to organize the sources of a complex program? - c ++JSF 2.0 and Facelets - java-eehttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1726230/objective-c-passing-model-objects-to-a-worker-class-from-a-controller&usg=ALkJrhh__wVZTrOL03w2X-f65t4RO-fwzAJava access denied - javaAll Articles