BCGControlBar Library for .NET
CommandObjectDef Constructor




A graphics to draw on.
The boundaries of the command object to draw.
A command object to draw.
Initializes a new instance to draw command object.
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 CommandObjectDef(grph, rect, obj)
public CommandObjectDef( 
   Graphics grph,
   Rectangle rect,
   object obj
)
public: CommandObjectDef( 
   Graphics* grph,
   Rectangle rect,
   Object* obj
)
public:
CommandObjectDef( 
   Graphics^ grph,
   Rectangle rect,
   Object^ obj
)

Parameters

grph
A graphics to draw on.
rect
The boundaries of the command object to draw.
obj
A command object to draw.
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

CommandObjectDef Class
CommandObjectDef Members

Send Feedback