public void AddUI(UIElement ui, int rowIndex, int colIndex) { if (rowIndex < gridTable.RowCount && colIndex < gridTable.ColumnCount) { gridTable.GetCell(rowIndex, colIndex).ContentElement = ui; if (this.gridBoxRenderE != null) { gridBoxRenderE.SetContent(rowIndex, colIndex, ui.GetPrimaryRenderElement(gridBoxRenderE.Root)); } } }
internal GridCell GetCell(int row, int col) { return(gridTable.GetCell(row, col)); }