Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartItemPaint Class / DrawCheckBox Method / DrawCheckBox(Rectangle,CheckState) Method
A System.Drawing.Rectangle structure representing the rectangle in which to draw the checkbox.
A System.Windows.Forms.CheckState value representing the check state of the checkbox.


In This Topic
    DrawCheckBox(Rectangle,CheckState) Method
    In This Topic
    Draws a checkbox with the specified check state within the specified rectangle.
    Syntax
    'Declaration
     
    Public Overloads Sub DrawCheckBox( _
       ByVal rectangle As Rectangle, _
       ByVal checkState As CheckState _
    ) 
    'Usage
     
    Dim instance As SmartItemPaint
    Dim rectangle As Rectangle
    Dim checkState As CheckState
     
    instance.DrawCheckBox(rectangle, checkState)
    public void DrawCheckBox( 
       Rectangle rectangle,
       CheckState checkState
    )

    Parameters

    rectangle
    A System.Drawing.Rectangle structure representing the rectangle in which to draw the checkbox.
    checkState
    A System.Windows.Forms.CheckState value representing the check state of the checkbox.
    Remarks

    The checkbox will be drawn according to the style defined by the UIStyle and UIStyleResourceAssembly properties.

    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