Spread Windows Forms 8.0 Product Documentation
DrawCustomButton Method (IScrollBarRenderer)


Graphics device interface for drawing the custom button
Rectangular bounds for drawing the custom button
FarPoint scroll bar button object
Draw the custom button.
Syntax
'Declaration
 
Sub DrawCustomButton( _
   ByVal g As Graphics, _
   ByVal bounds As Rectangle, _
   ByVal element As FpScrollBarButton _
) 
'Usage
 
Dim instance As IScrollBarRenderer
Dim g As Graphics
Dim bounds As Rectangle
Dim element As FpScrollBarButton
 
instance.DrawCustomButton(g, bounds, element)
void DrawCustomButton( 
   Graphics g,
   Rectangle bounds,
   FpScrollBarButton element
)

Parameters

g
Graphics device interface for drawing the custom button
bounds
Rectangular bounds for drawing the custom button
element
FarPoint scroll bar button object
Requirements

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

See Also

Reference

IScrollBarRenderer Interface
IScrollBarRenderer Members

 

 


Copyright © GrapeCity, inc. All rights reserved.