/// <summary>
        /// Draw visual content.
        /// </summary>
        /// <param name="drawingContext">Drawing context.</param>
        public void Draw(GanttItemProgressDrawingContext drawingContext)
        {
            // Open drawing context.
            drawingContext.DrawingContext = this.RenderOpen();

            // Close drawing context to null.
            drawingContext.DrawingContext.Close();
            drawingContext.DrawingContext = null;

            RedrawRequired = false;
        }
        /// <summary>
        /// Draw visual content.
        /// </summary>
        /// <param name="drawingContext">Drawing context.</param>
        public void Draw(GanttItemProgressDrawingContext drawingContext)
        {
            // Open drawing context.
            drawingContext.DrawingContext = this.RenderOpen();

            // Close drawing context to null.
            drawingContext.DrawingContext.Close();
            drawingContext.DrawingContext = null;

            RedrawRequired = false;
        }