ControlDrawEventArgs

EventArgsReferences
Arguments used in the IControl draw events.

Constructors

ControlDrawEventArgs

#
public ControlDrawEventArgs(IFlexControl control, Graphics graphics)
Create a new instance of the ControlPaintEventArgs class.
control (IFlexControl)Control that raised the event.
graphics (Graphics)Graphics object to draw with.

Properties

Control

#
public IFlexControl Control { get; }
Gets the IControl instance that raised this event.

Graphics

#
public ControlGraphics Graphics { get; }
Gets the graphics objects associated with this draw event.