Method DrawItemText
DrawItemText(AbstractControl, Graphics, string, RectD, GenericAlignment, DrawFlags, TextEllipsisType)
Draws text using the appropriate color for normal and selected states.
public void DrawItemText(AbstractControl control, Graphics dc, string text, RectD rect, GenericAlignment align = GenericAlignment.Left, WxControlPainterHandler.DrawFlags flags = DrawFlags.None, TextEllipsisType ellipsizeMode = TextEllipsisType.End)
Parameters
controlAbstractControlControl in which drawing will be performed.
dcGraphicsDrawing context.
textstringText to draw.
rectRectDRectangle in which control is painted.
alignGenericAlignmentText alignment.
flagsWxControlPainterHandler.DrawFlagsDrawing flags.
ellipsizeModeTextEllipsisTypeText ellipsize mode.