Device.DeviceResizing Event

Language:

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 CancelEventHandlerDeviceResizing;
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


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center