Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / IDrawingSurface Interface / DrawOptionButton Method
The rectangle to draw.
The state of the control.
The value indicates if the option is checked.


In This Topic
    DrawOptionButton Method
    In This Topic
    Draw a option button.
    Syntax
    'Declaration
     
    
    Sub DrawOptionButton( _
       ByVal rect As Rectangle, _
       ByVal state As ControlState, _
       ByVal isChecked As Boolean _
    ) 
    'Usage
     
    
    Dim instance As IDrawingSurface
    Dim rect As Rectangle
    Dim state As ControlState
    Dim isChecked As Boolean
     
    instance.DrawOptionButton(rect, state, isChecked)
    void DrawOptionButton( 
       Rectangle rect,
       ControlState state,
       bool isChecked
    )

    Parameters

    rect
    The rectangle to draw.
    state
    The state of the control.
    isChecked
    The value indicates if the option is checked.
    See Also