protected void SetViewModel(ViewModelBase viewModel) { ViewModel = viewModel; BindingProcessor.ProcessBinding(ViewModel, this, GetBindingPaths()); }
public void SetViewModel(object model) { ViewModel = model; BindingProcessor.ProcessBinding(ViewModel, this, GetBindingPaths()); }