Method DrawItemText
DrawItemText(Control, Graphics, string, RectD, GenericAlignment, DrawFlags, TextEllipsizeType)
Draws text using the appropriate color for normal and selected states.
public void DrawItemText(Control control, Graphics dc, string text, RectD rect, GenericAlignment align = GenericAlignment.Left, WxControlPainterHandler.DrawFlags flags = DrawFlags.None, TextEllipsizeType ellipsizeMode = TextEllipsizeType.End)
Parameters
control
ControlControl in which drawing will be performed.
dc
GraphicsDrawing context.
text
stringText to draw.
rect
RectDRectangle in which control is painted.
align
GenericAlignmentText alignment.
flags
WxControlPainterHandler.DrawFlagsDrawing flags.
ellipsizeMode
TextEllipsizeTypeText ellipsize mode.