Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / IDrawingContext Interface / DrawCheckBox Method
The rectangle to draw.
The control state GrapeCity.Spreadsheet.FormControls.ControlState.
The checkbox state GrapeCity.Spreadsheet.FormControls.CheckState.


In This Topic
    DrawCheckBox Method
    In This Topic
    Draws a 3D checkbox in the specifc rectangle.
    Syntax
    'Declaration
     
    
    Sub DrawCheckBox( _
       ByVal rect As Rectangle, _
       ByVal controlState As ControlState, _
       ByVal state As CheckState _
    ) 
    'Usage
     
    
    Dim instance As IDrawingContext
    Dim rect As Rectangle
    Dim controlState As ControlState
    Dim state As CheckState
     
    instance.DrawCheckBox(rect, controlState, state)
    void DrawCheckBox( 
       Rectangle rect,
       ControlState controlState,
       CheckState state
    )

    Parameters

    rect
    The rectangle to draw.
    controlState
    The control state GrapeCity.Spreadsheet.FormControls.ControlState.
    state
    The checkbox state GrapeCity.Spreadsheet.FormControls.CheckState.
    See Also