BCGControlBar Library for .NET
DrawButtonDef Constructor




The graphics to draw on.
The boundaries of the button to redraw.
The button to redraw.
Initializes a new instance of the DrawButtonDef class.
Syntax
'Declaration
 
Public Function New( _
   ByVal grph As Graphics, _
   ByVal rect As Rectangle, _
   ByVal obj As Object _
)
'Usage
 
Dim grph As Graphics
Dim rect As Rectangle
Dim obj As Object
 
Dim instance As New DrawButtonDef(grph, rect, obj)
public DrawButtonDef( 
   Graphics grph,
   Rectangle rect,
   object obj
)
public: DrawButtonDef( 
   Graphics* grph,
   Rectangle rect,
   Object* obj
)
public:
DrawButtonDef( 
   Graphics^ grph,
   Rectangle rect,
   Object^ obj
)

Parameters

grph
The graphics to draw on.
rect
The boundaries of the button to redraw.
obj
The button to redraw.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DrawButtonDef Class
DrawButtonDef Members

Send Feedback