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


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

    Parameters

    button
    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