Spread Windows Forms 11.0 Product Documentation
DrawCustomButton Method (FlatScrollBarRenderer)


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FlatScrollBarRenderer Class : DrawCustomButton Method
Graphics object.
Rectangle boundary.
FpScrollBar button.
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

Reference

FlatScrollBarRenderer Class
FlatScrollBarRenderer Members