Font.Reset Event (Microsoft.DirectX.Direct3D)

Occurs after the Font.OnResetDevice method is called or after the Device is reset.

Definition

Visual BasicPublic Event Reset As EventHandlerLeave Site
C#public event EventHandlerLeave Site Reset;
C++public:
event EventHandlerLeave SiteReset;
JScriptIn JScript, you can use events, but you cannot define your own.

Remarks

To add an event handler that listens for a Font.Reset event, use the following C# code.

[C#]Font.Reset += new System.EventHandler(this.ResetEventHandler);

Show: