Beispiel #1
0
        public void Render()
        {
            var project = Project.ProjectInstance;

            foreach (var criteria in project.Criterias)
            {
                var          index = layoutControl1.Root.OptionsTableLayoutGroup.RowDefinitions.Add(new DevExpress.XtraLayout.RowDefinition());
                GraphControl graph = GraphControl.CreateGraphControlForCriteria(criteria);
                var          item  = layoutControl1.AddItem(criteria.Name, graph);
                item.OptionsTableLayoutItem.RowIndex = index;
            }
        }