Spread Windows Forms 9.0 Product Documentation
DrawCustomButton Method (DefaultScrollBarRenderer)


Graphics device interface for drawing the custom button
Rectangular bounds of the drawing
Scroll bar button 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 DefaultScrollBarRenderer
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 device interface for drawing the custom button
bounds
Rectangular bounds of the drawing
element
Scroll bar button object
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

DefaultScrollBarRenderer Class
DefaultScrollBarRenderer Members

 

 


Copyright © GrapeCity, inc. All rights reserved.