Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / IScrollBarRenderer Interface / DrawCustomButton Method
Graphics device interface for drawing the custom button
Rectangular bounds for drawing the custom button
Scroll bar button object


In This Topic
    DrawCustomButton Method (IScrollBarRenderer)
    In This Topic
    Draws the custom button.
    Syntax
    'Declaration
     
    
    Sub DrawCustomButton( _
       ByVal g As Graphics, _
       ByVal bounds As Rectangle, _
       ByVal element As FpScrollBarButton _
    ) 
    'Usage
     
    
    Dim instance As IScrollBarRenderer
    Dim g As Graphics
    Dim bounds As Rectangle
    Dim element As FpScrollBarButton
     
    instance.DrawCustomButton(g, bounds, element)
    void DrawCustomButton( 
       Graphics g,
       Rectangle bounds,
       FpScrollBarButton element
    )

    Parameters

    g
    Graphics device interface for drawing the custom button
    bounds
    Rectangular bounds for drawing the custom button
    element
    Scroll bar button object
    See Also