GameComponent.OnEnabledChanged Method
Called when the Enabled property changes. Raises the EnabledChanged event.
Syntax
'Declaration
Protected Overridable Sub OnEnabledChanged ( _
sender As Object, _
args As EventArgs _
)
protected virtual void OnEnabledChanged (
Object sender,
EventArgs args
)
protected:
virtual void OnEnabledChanged(
Object sender,
EventArgs args
)
Parameters
- sender
Type: Object
The GameComponent. - args
Type: EventArgs
Arguments to the EnabledChanged event.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
GameComponent Class
GameComponent Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone