Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / EnhancedScrollBarRenderer Class / DrawCustomButton Method
Graphics object that represents a drawing device context
Rectangle object that represents drawing bounds
FpScrollBarButton object that represents a drawing object


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

    Parameters

    g
    Graphics object that represents a drawing device context
    bounds
    Rectangle object that represents drawing bounds
    element
    FpScrollBarButton object that represents a drawing object
    See Also