Method DrawGauge
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
ControlControl in which drawing will be performed.
dc
GraphicsDrawing context.
rect
RectDRectangle in which control is painted.
value
intCurrent value.
max
intMaximal value.
flags
WxControlPainterHandler.DrawFlagsDrawing flags.
Remarks
Special flag must be used for drawing vertical gauges.