示例#1
0
        private IElementDesigner PropertiesGetDesigner(Table table, Point cell)
        {
            CellDesignerBox box = new CellDesignerBox();

            box.TextHAlign = HorizontalAlignment.Left;
            box.Text       = PropertiesGetValue(table, cell);
            return(box);
        }
示例#2
0
        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);
            }
        }