/// <summary> /// Create a new item handle /// </summary> public GridItem(GridColumn column, GridRow row, GridList gridList) { Column = column; Row = row; glist = gridList; }
/// <summary> /// Create a new row /// </summary> public GridRow(GridList gridList) { this.ID = MtaClient.GuiGridListAddRow(gridList.MTAElement, null, null); glist = gridList; }
/// <summary> /// Create a new row after an existing row index /// </summary> public GridRow(GridList gridList, int index) { this.ID = MtaClient.GuiGridListInsertRowAfter(gridList.MTAElement, index); glist = gridList; }
/// <summary> /// Create a new column /// </summary> public GridColumn(string title, float width, GridList gridList) { this.ID = MtaClient.GuiGridListAddColumn(gridList.MTAElement, title, width); glist = gridList; }