public override RectangleF ArrangeCell(RectangleF clientRect, GridCellElement cell) { GridDataCellElement gridDataCellElement = cell as GridDataCellElement; if (gridDataCellElement != null) { gridDataCellElement.IsLeftMost = false; } return(this.LayoutImpl.GetCellArrangeRect(clientRect, cell)); }
public virtual void CreateCellElements(GridDataCellElement dataCell) { dataCell.SuspendLayout(); if (this.DataCell != dataCell) { if (this.DataCell != null) { this.DataCell.Children.Remove((RadElement)this.stackLayoutElement); } dataCell.Children.Insert(0, (RadElement)this.stackLayoutElement); } bool isLastChildRow = this.IsLastChildRow(this.RowInfo.Parent, (GridViewRowInfo)this.RowInfo); this.UpdateExpander(isLastChildRow); this.UpdateLinks(isLastChildRow); dataCell.ResumeLayout(true); }