public static object GetViewModel(UserControl userControl) { return userControl.GetValue(ViewModelProperty); }