public static void Set_DetailView(IModelDesignTemplateDetailView view, IModelDetailView modelDetailView) => view.DetailViewId = modelDetailView.Id;
public static CalculatedModelNodeList <IModelDetailView> Get_DetailViews(IModelDesignTemplateDetailView modelDesignTemplateDetailView) => modelDesignTemplateDetailView.Application.Views.OfType <IModelDetailView>() .Where(view => view.MemberViewItems(typeof(IRichTextPropertyEditor)).Any() && !view.ModelClass.TypeInfo.Type.IsFromDocumentStyleManager()) .ToCalculatedModelNodeList();
public static IModelDetailView Get_DetailView(IModelDesignTemplateDetailView view) => view.DetailViews.FirstOrDefault(viewItem => viewItem.Id == view.DetailViewId);