GameComponent.OnEnabledChanged Method
Called when the Enabled property changes. Raises the EnabledChanged event.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)
Syntax
protected virtual void OnEnabledChanged (
Object sender,
EventArgs args
)
Parameters
- sender
The GameComponent. - args
Arguments to the EnabledChanged event.
See Also
Reference
GameComponent Class
GameComponent Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista