示例#1
0
 public static void Set_DetailView(IModelDesignTemplateDetailView view, IModelDetailView modelDetailView)
 => view.DetailViewId = modelDetailView.Id;
示例#2
0
 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();
示例#3
0
 public static IModelDetailView Get_DetailView(IModelDesignTemplateDetailView view)
 => view.DetailViews.FirstOrDefault(viewItem => viewItem.Id == view.DetailViewId);