Lost
Collapse the table of content
Expand the table of content

Font.Lost Event (Microsoft.DirectX.Direct3D)

Occurs when an object is lost, normally just before a device is reset.

Definition

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

Remarks

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

[C#]Font.Lost += new System.EventHandler(this.LostEventHandler);

Show:
© 2016 Microsoft