Interface IGraphicsProvider
Implements an interface that returns a graphics context when needed and raises a
PrepareGraphics event to initialize the graphics object.
Assembly: Syncfusion.Shared.Base.dll
Syntax
public interface IGraphicsProvider
Properties
Graphics
Creates and returns a cached graphics object.
Declaration
Graphics Graphics { get; }
Property Value
| Type |
| System.Drawing.Graphics |
Methods
add_PrepareGraphics(GraphicsEventHandler)
Declaration
void add_PrepareGraphics(GraphicsEventHandler value)
Parameters
remove_PrepareGraphics(GraphicsEventHandler)
Declaration
void remove_PrepareGraphics(GraphicsEventHandler value)
Parameters
Events
PrepareGraphics
Called after a new Graphics object was created and gives the handler
a chance to initialize the graphics context.
Declaration
event GraphicsEventHandler PrepareGraphics
Event Type