private IElementDesigner PropertiesGetDesigner(Table table, Point cell) { CellDesignerBox box = new CellDesignerBox(); box.TextHAlign = HorizontalAlignment.Left; box.Text = PropertiesGetValue(table, cell); return(box); }
private IElementDesigner GroupsGetDesigner(Table table, Point cell) { string columnName = table.Columns[cell.X].Name; if (columnName == "InternalDetails") { return(new DetailsCellDesignerBox((XElement)((ElementGroup)table.Tag)[cell.Y])); } else { CellDesignerBox box = new CellDesignerBox(); box.TextHAlign = HorizontalAlignment.Left; box.Text = GroupsGetValue(table, cell); return(box); } }