Example #1
0
 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));
         }
     }
 }
Example #2
0
 internal GridCell GetCell(int row, int col)
 {
     return(gridTable.GetCell(row, col));
 }