Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FlatScrollBarRenderer Class / DrawCustomButton Method
Graphics object.
Rectangle boundary.
FpScrollBar button.


In This Topic
    DrawCustomButton Method (FlatScrollBarRenderer)
    In This Topic
    Draws the custom button.
    Syntax
    'Declaration
     
    Public Overridable Sub DrawCustomButton( _
       ByVal g As Graphics, _
       ByVal bound As Rectangle, _
       ByVal element As FpScrollBarButton _
    ) 
    'Usage
     
    Dim instance As FlatScrollBarRenderer
    Dim g As Graphics
    Dim bound As Rectangle
    Dim element As FpScrollBarButton
     
    instance.DrawCustomButton(g, bound, element)
    public virtual void DrawCustomButton( 
       Graphics g,
       Rectangle bound,
       FpScrollBarButton element
    )

    Parameters

    g
    Graphics object.
    bound
    Rectangle boundary.
    element
    FpScrollBar button.
    See Also