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