DrawableGameComponent.OnVisibleChanged Method
XNA Game Studio 2.0
Called when the Visible property changes. Raises the VisibleChanged event.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)
protected virtual void OnVisibleChanged ( Object sender, EventArgs args )
Parameters
- sender
- The DrawableGameComponent.
- args
- Arguments to the VisibleChanged event.