Table of Contents

Method DrawItem

Namespace
Alternet.Drawing
Assembly
Alternet.UI.dll

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.ControlPartKind

Kind of the control part.

control Control

Control in which drawing will be performed.

dc Graphics

Drawing context.

rect RectD

Rectangle in which control is painted.

flags WxControlPainterHandler.DrawFlags

Drawing flags.

prm WxControlPainterHandler.DrawItemParams

Item parameters.

Returns

int