In my projects, I have many UserControls that contain other controls. Most of them are tied to the ViewModel, but sometimes I also access them directly from the code to add special functions, and sometimes to save the ViewModel.
If I do this, I always do this directly through the control member variable.
This is mistake? Is there any reason to do this wrong, but go on FindName? I should note that he is sure that the designer will never graphically โoptimizeโ these applications.
wpf
HCL
source share