Share via


WindowRectChangingEventArgs Class

Definition

Contains event data for the WindowRectChanging event.

public ref class WindowRectChangingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65542)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WindowRectChangingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65542)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WindowRectChangingEventArgs
Public NotInheritable Class WindowRectChangingEventArgs
Inheritance
Object Platform::Object IInspectable WindowRectChangingEventArgs
Attributes

Properties

AllowRectChange

Gets or sets whether the window rect is allowed to change.

MoveSizeOperation

Gets the type of operation being performed in the move-size loop.

NewWindowRect

Gets or sets the new rect that the window will change to (if nothing prevents the change).

OldWindowRect

Gets the old rect from which the window will be changing (if nothing prevents the change).

PointerScreenPoint

Gets the position of the pointer when the window position is about to change.

ShowWindow

Gets or sets whether the window should be shown.

Applies to