Spread Windows Forms 11.0 Product Documentation
DrawCustomButton Method (EnhancedScrollBarRenderer)


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
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

Reference

EnhancedScrollBarRenderer Class
EnhancedScrollBarRenderer Members