protected override void PaintElement(Telerik.WinControls.Paint.IGraphics graphics, float angle, SizeF scale) { base.PaintElement(graphics, angle, scale); PointF[] points = new PointF[4]; points[0] = new PointF(this.loadingElement.BoundingRectangle.X, this.Size.Height - 1); points[1] = new PointF(this.loadingElement.BoundingRectangle.Right, this.Size.Height * 0.35f); points[2] = new PointF(this.unloadingElement.BoundingRectangle.X, this.Size.Height * 0.35f); points[3] = new PointF(this.unloadingElement.BoundingRectangle.Right, this.Size.Height - 1); graphics.ChangeSmoothingMode(System.Drawing.Drawing2D.SmoothingMode.AntiAlias); graphics.FillPolygon(Color.FromArgb(100, Color.Gray), points); graphics.RestoreSmoothingMode(); }