protected internal void ParameterPassingAfterLoad(ref ContentControl content, Func <bool> Validate, Action <bool> SetEnabledSave, Action <bool> SetReadOnlyFields) { DocumentControlVM = new DocumentControlVM(ref content, ViewEvidenceM.EvidenceList) { Validate = Validate, SetEnabledSave = SetEnabledSave, SetReadOnlyFields = SetReadOnlyFields, Type = false }; DocumentControlVM.ReadOnly(); Loading.RunWorkerAsync(); }