public PageControlGroup GetGroupByCaption(string caption, Position position) { var groupPageControl = Children.OfType <PageControlGroup>().FirstOrDefault(c => c.Properties.CaptionML["ENU"] == caption); if (groupPageControl == null) { groupPageControl = new PageControlGroup(indentationLevel: 1); groupPageControl.Properties.CaptionML.Set("ENU", caption); this.AddChildPageControl(groupPageControl, position); } return(groupPageControl); }
public PageControlGroup GetGroupByType(PageControlGroupType type, Position position) { var groupPageControl = Children.OfType <PageControlGroup>().FirstOrDefault(g => g.Properties.GroupType == type); if (groupPageControl == null) { groupPageControl = new PageControlGroup(indentationLevel: 1); groupPageControl.Properties.GroupType = type; AddChildPageControl(groupPageControl, position); } return(groupPageControl); }
internal PageControlGroupProperties(PageControlGroup control) { Control = control; innerList.Add(name); innerList.Add(captionML); innerList.Add(description); innerList.Add(visible); innerList.Add(enabled); innerList.Add(editable); innerList.Add(indentationColumnName); innerList.Add(indentationControls); innerList.Add(showAsTree); innerList.Add(groupType); innerList.Add(instructionalTextML); innerList.Add(freezeColumnID); innerList.Add(layout); innerList.Add(actionList); }