Method DrawItem
DrawItem(ControlPartKind, Control, Graphics, RectD, DrawFlags, DrawItemParams?)
Draws item specified with kind
.
public int DrawItem(WxControlPainterHandler.ControlPartKind kind, Control control, Graphics dc, RectD rect, WxControlPainterHandler.DrawFlags flags = DrawFlags.None, WxControlPainterHandler.DrawItemParams? prm = null)
Parameters
kind
WxControlPainterHandler.ControlPartKindKind of the control part.
control
ControlControl in which drawing will be performed.
dc
GraphicsDrawing context.
rect
RectDRectangle in which control is painted.
flags
WxControlPainterHandler.DrawFlagsDrawing flags.
prm
WxControlPainterHandler.DrawItemParamsItem parameters.