DrawComboBox(GcGraphics,RectangleF,String,Font,Single,Color,Color,Border,Boolean,Single,Boolean) Method
In This Topic
Draws a combo box.
Syntax
'Declaration
Public Overloads Shared Sub DrawComboBox( _
ByVal As GcGraphics, _
ByVal As System.Drawing.RectangleF, _
ByVal As System.String, _
ByVal As Font, _
ByVal As System.Single, _
ByVal As System.Drawing.Color, _
ByVal As System.Drawing.Color, _
ByVal As Border, _
ByVal As System.Boolean, _
ByVal As System.Single, _
ByVal As System.Boolean _
)
public static void DrawComboBox(
GcGraphics ,
System.Drawing.RectangleF ,
System.string ,
Font ,
System.float ,
System.Drawing.Color ,
System.Drawing.Color ,
Border ,
System.bool ,
System.float ,
System.bool
)
Parameters
- g
- The graphics to draw on.
- bounds
- The control bounds.
- fieldText
- The control text.
- font
- The font.
- fontSize
- The font size.
- foreColor
- The fore color.
- backColor
- The background color.
- border
- The border definition.
- required
- Indicates whether to draw the border in red, ignoring the color specified in .
- orientation
- The rotation angle, should be a multiple of 90.
- drawButton
- Indicates whether to draw drop-down button.
See Also