Device.DeviceResizing Event (Microsoft.DirectX.Direct3D)
Occurs when a device is resizing, allowing the application to cancel the default handling of the resize.
Definition
Visual Basic Public Event DeviceResizing As CancelEventHandler C# public event CancelEventHandler DeviceResizing; C++ public:
event CancelEventHandler^ DeviceResizing;JScript In JScript, you can use events, but you cannot define your own.
Remarks
To add an event handler that listens for a Device.DeviceResizing event, use the following C# code.
[C#]device.DeviceResizing += new System.CancelEventHandler(this.DeviceResizingEventHandler);
See Also