Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NSkinPainter Class / PaintProgressBar Method
The specified instance.
The graphics object to paint onto.


In This Topic
    PaintProgressBar Method
    In This Topic
    Paints a NProgressBar control.
    Syntax
    'Declaration
     
    
    Public Overridable Function PaintProgressBar( _
       ByVal bar As NProgressBar, _
       ByVal g As System.Drawing.Graphics, _
       ByVal skin As NSkin _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NSkinPainter
    Dim bar As NProgressBar
    Dim g As System.Drawing.Graphics
    Dim skin As NSkin
    Dim value As System.Boolean
     
    value = instance.PaintProgressBar(bar, g, skin)
    public virtual System.bool PaintProgressBar( 
       NProgressBar bar,
       System.Drawing.Graphics g,
       NSkin skin
    )

    Parameters

    bar
    The specified instance.
    g
    The graphics object to paint onto.
    skin

    Return Value

    True if successfully painted, false otherwise.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also