Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NSkinPainter Class / PaintCheckControl Method
The specified instance.
The NButtonBaseInfo which contains common properties.
The graphics object to paint onto.


In This Topic
    PaintCheckControl Method
    In This Topic
    Paint a NCheckBox or a NRadioButton control.
    Syntax
    'Declaration
     
    
    Public Overridable Function PaintCheckControl( _
       ByVal control As System.Windows.Forms.ButtonBase, _
       ByVal info As NButtonBaseInfo, _
       ByVal g As System.Drawing.Graphics, _
       ByVal skin As NSkin _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NSkinPainter
    Dim control As System.Windows.Forms.ButtonBase
    Dim info As NButtonBaseInfo
    Dim g As System.Drawing.Graphics
    Dim skin As NSkin
    Dim value As System.Boolean
     
    value = instance.PaintCheckControl(control, info, g, skin)
    public virtual System.bool PaintCheckControl( 
       System.Windows.Forms.ButtonBase control,
       NButtonBaseInfo info,
       System.Drawing.Graphics g,
       NSkin skin
    )

    Parameters

    control
    The specified instance.
    info
    The NButtonBaseInfo which contains common properties.
    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