Table of Contents

Method DrawGauge

Namespace
Alternet.Drawing
Assembly
Alternet.UI.dll

DrawGauge(Control, Graphics, RectD, int, int, DrawFlags)

Draws a gauge with native style.

public void DrawGauge(Control control, Graphics dc, RectD rect, int value, int max, WxControlPainterHandler.DrawFlags flags = DrawFlags.None)

Parameters

control Control

Control in which drawing will be performed.

dc Graphics

Drawing context.

rect RectD

Rectangle in which control is painted.

value int

Current value.

max int

Maximal value.

flags WxControlPainterHandler.DrawFlags

Drawing flags.

Remarks

Special flag must be used for drawing vertical gauges.