Skip to content

AF7892E5

Marcel Härtel edited this page Aug 27, 2023 · 2 revisions

MouseHoverUpdatesOnly Property

Set this to 'true' to only update this control when the mouse cursor is inside (OnMouseHover).

Remarks

This technique is useful when you only need to update this control temporarily or always on demand. Setting this property to 'true' will cause that this control will only consume CPU power to update its contents, when the mouse cursor is inside it or when you call 'RunOneFrame();' manually.

Definition

Namespace: MonoGame.Forms.NET.Controls
Assembly: MonoGame.Forms.NET (in MonoGame.Forms.NET.dll) Version: 3.2.0

C#

public bool MouseHoverUpdatesOnly { get; set; }

Property Value

Boolean

See Also

Reference

GameControl Class
MonoGame.Forms.NET.Controls Namespace

Clone this wiki locally