Share via


WindowRectChangingEventArgs.NewWindowRect Property

Definition

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

public:
 property RectInt32 NewWindowRect { RectInt32 get(); void set(RectInt32 value); };
RectInt32 NewWindowRect();

void NewWindowRect(RectInt32 value);
public RectInt32 NewWindowRect { get; set; }
var rectInt32 = windowRectChangingEventArgs.newWindowRect;
windowRectChangingEventArgs.newWindowRect = rectInt32;
Public Property NewWindowRect As RectInt32

Property Value

The new rect that the window will change to (if nothing prevents the change).

Remarks

This property can be set to provide an alternative rect instead.

Applies to