예제 #1
0
        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));
        }
예제 #2
0
        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);
        }