Skip to content

817B69FF

Marcel Härtel edited this page Aug 19, 2023 · 1 revision

InvalidationControl Methods

Methods

Dispose Disposes the contents of the attached Editor.
(Overrides GraphicsDeviceControl.Dispose(Boolean))
Draw Override to implement Drawing logic in your custom MonoGame.Forms.Control.
Initialize Override to implement Initialization logic in your custom MonoGame.Forms.Control.
IsMouseInsideControlArea Returns true when the mouse cursor is inside the specific area.
(Inherited from GraphicsDeviceControl)
OnClientSizeChanged Updates related Editor services when the ClientSize changes.
(Overrides GraphicsDeviceControl.OnClientSizeChanged(EventArgs))
OnCreateControl
(Inherited from GraphicsDeviceControl)
OnMouseEnter
(Inherited from GraphicsDeviceControl)
OnMouseLeave
(Inherited from GraphicsDeviceControl)
OnMouseWheel
(Inherited from GraphicsDeviceControl)
OnPaint
(Inherited from GraphicsDeviceControl)
OnPaintBackground
(Inherited from GraphicsDeviceControl)
OnVisibleChanged In case the ClientSize was changed before activating the control, the cam position gets updated according to this changes.
(Overrides Control.OnVisibleChanged(EventArgs))
PaintUsingSystemDrawing
(Inherited from GraphicsDeviceControl)
SetMultiSampleCount Set the "MultiSampleCount" for Multi Sampled AntiAlising (MSAA). The input value will be automatically clamped to the nearest power of two in relation of what the users GraphicsDevice can handle.
(Inherited from GraphicsDeviceControl)

See Also

Reference

InvalidationControl Class
MonoGame.Forms.NET.Controls Namespace

Clone this wiki locally