WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ProgressBarAdvRenderer

    Show / Hide Table of Contents

    Class ProgressBarAdvRenderer

    Default ProgressBarAdv Renderer

    Inheritance
    System.Object
    ProgressBarAdvRenderer
    Implements
    IProgressBarAdvRenderer
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Shared.Base.dll
    Syntax
    public class ProgressBarAdvRenderer : IProgressBarAdvRenderer

    Constructors

    ProgressBarAdvRenderer(ProgressBarAdv)

    Constructor of the Renderer class

    Declaration
    public ProgressBarAdvRenderer(ProgressBarAdv progressBar)
    Parameters
    Type Name Description
    ProgressBarAdv progressBar

    ProgressBarAdv

    Methods

    DrawBackground(Graphics, Boolean)

    Draws the background of the ProgressBar.

    Declaration
    public void DrawBackground(Graphics g, bool segmented)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

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

    System.Boolean segmented

    Indicates whether the background is segmented.

    DrawBorder(Graphics, Rectangle)

    Draws the border of the ProgressBar.

    Declaration
    public void DrawBorder(Graphics g, Rectangle rc)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    The System.Drawing.Graphics object to the border.

    System.Drawing.Rectangle rc

    The System.Drawing.Rectangle of the border.

    DrawProgress(Graphics, Rectangle, Rectangle)

    Draws the foreground of the ProgressBar.

    Declaration
    public void DrawProgress(Graphics g, Rectangle ClipRectangle, Rectangle progressRectangle)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

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

    System.Drawing.Rectangle ClipRectangle

    The System.Drawing.Rectangle to draw the progress.

    System.Drawing.Rectangle progressRectangle

    The System.Drawing.Rectangle used to draw the background of the progress

    DrawText(Graphics, Rectangle)

    Draws the specified text string at the specified location.

    Declaration
    public void DrawText(Graphics g, Rectangle rect)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    The System.Drawing.Graphics object to the text.

    System.Drawing.Rectangle rect

    The System.Drawing.Rectangle of the ProgressBarAdv

    UpdateRenderer(PaintEventArgs, Rectangle)

    Update the Renderer.

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

    Provides data for the Syncfusion.Windows.Forms.Tools.ProgressBarAdvRenderer.ProgressBarAdv Paint event.

    System.Drawing.Rectangle rect

    Implements

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