GrapeCity MultiRow Windows Forms Documentation
Draw Method (DropDownItem)


The graphics to draw.
A System.Drawing.Rectangle that indicates the boundary of the item.
A System.Boolean value that indicates whether the item is highlighted.
Draws the text and image of the DropDownItem.
Syntax
Protected Overridable Sub Draw( _
   ByVal g As Graphics, _
   ByVal itemBounds As Rectangle, _
   ByVal highlight As Boolean _
) 
Dim instance As DropDownItem
Dim g As Graphics
Dim itemBounds As Rectangle
Dim highlight As Boolean
 
instance.Draw(g, itemBounds, highlight)
protected virtual void Draw( 
   Graphics g,
   Rectangle itemBounds,
   bool highlight
)

Parameters

g
The graphics to draw.
itemBounds
A System.Drawing.Rectangle that indicates the boundary of the item.
highlight
A System.Boolean value that indicates whether the item is highlighted.
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

DropDownItem Class
DropDownItem Members

 

 


Copyright © GrapeCity, inc. All rights reserved.