Xceed SmartUI for WinForms v3.6 Documentation
DrawCheckBox(Rectangle,CheckState,Boolean) Method


Xceed.SmartUI.v3.6 Assembly > Xceed.SmartUI Namespace > SmartItemPaint Class > DrawCheckBox Method : DrawCheckBox(Rectangle,CheckState,Boolean) 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.
true if the checkbox should be drawn enabled; false otherwise.
Draws a checkbox with the specified check and enable state within the specified rectangle.
Syntax
'Declaration
 
Public Overloads Sub DrawCheckBox( _
   ByVal rectangle As Rectangle, _
   ByVal checkState As CheckState, _
   ByVal enabled As Boolean _
) 
'Usage
 
Dim instance As SmartItemPaint
Dim rectangle As Rectangle
Dim checkState As CheckState
Dim enabled As Boolean
 
instance.DrawCheckBox(rectangle, checkState, enabled)
public void DrawCheckBox( 
   Rectangle rectangle,
   CheckState checkState,
   bool enabled
)

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.
enabled
true if the checkbox should be drawn enabled; false otherwise.
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

Reference

SmartItemPaint Class
SmartItemPaint Members
Overload List