public static ContentControl FindViewContent(Views.View view)
        {
            ContentControl contentControl = view.FindFirstChild <ContentControl>("ViewContent");

            if (contentControl == null)
            {
                contentControl = view;
            }
            return(contentControl);
        }
 public static Views.View LocateViewForModel(object viewModel)
 {
     Views.View view = (Views.View)ViewLocator.LocateForModel(viewModel, null, null);
     ViewModelBinder.Bind(viewModel, view, null);
     return(view);
 }