WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IProgressBarAdvRenderer - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IProgressBarAdvRenderer

    Interface used to customize the appearance and ProgressStyle of the ProgressBarAdv.

    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public interface IProgressBarAdvRenderer

    Methods

    DrawBackground(Graphics, Boolean)

    Draws the background of the ProgressBar.

    Declaration
    void DrawBackground(Graphics graphics, bool backSegments)
    Parameters
    Type Name Description
    System.Drawing.Graphics graphics

    The System.Drawing.Graphics object to draw the background.

    System.Boolean backSegments

    Indicates whether the background is segmented.

    DrawBorder(Graphics, Rectangle)

    Draws the border of the ProgressBar.

    Declaration
    void DrawBorder(Graphics graphics, Rectangle rectangle)
    Parameters
    Type Name Description
    System.Drawing.Graphics graphics

    The System.Drawing.Graphics object to draw the border.

    System.Drawing.Rectangle rectangle

    The System.Drawing.Rectangle of the border.

    DrawProgress(Graphics, Rectangle, Rectangle)

    Draws the foreground of the ProgressBar.

    Declaration
    void DrawProgress(Graphics graphics, Rectangle clipRectangle, Rectangle progressRectangle)
    Parameters
    Type Name Description
    System.Drawing.Graphics graphics

    The System.Drawing.Graphics object to draw background of the Progress.

    System.Drawing.Rectangle clipRectangle

    The System.Drawing.Rectangle provide the control bounds.

    System.Drawing.Rectangle progressRectangle

    The System.Drawing.Rectangle provides the progress rectangle.

    DrawText(Graphics, Rectangle)

    Draws the specified text string at the specified location.

    Declaration
    void DrawText(Graphics graphics, Rectangle rectangle)
    Parameters
    Type Name Description
    System.Drawing.Graphics graphics

    The System.Drawing.Graphics object to draw the text.

    System.Drawing.Rectangle rectangle

    The System.Drawing.Rectangle to draw in.

    UpdateRenderer(PaintEventArgs, Rectangle)

    Update the Renderer.

    Declaration
    void UpdateRenderer(PaintEventArgs PaintEventArgs, Rectangle progresssRectangle)
    Parameters
    Type Name Description
    System.Windows.Forms.PaintEventArgs PaintEventArgs

    Provides data for the ProgressBarAdv Paint event.

    System.Drawing.Rectangle progresssRectangle

    The System.Drawing.Rectangle is helps to draw the progress.

    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved