Partager via


GraphicsDeviceManager.OnDeviceCreated Method

Called when a device is created. Raises the DeviceCreated event.

Syntax

'Declaration
Protected Overridable Sub OnDeviceCreated ( _
         sender As Object, _
         args As EventArgs _
)
protected virtual void OnDeviceCreated (
         Object sender,
         EventArgs args
)
protected:
virtual void OnDeviceCreated(
         Object sender,
         EventArgs args
)

Parameters

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

GraphicsDeviceManager Class
GraphicsDeviceManager Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone