다음을 통해 공유


WindowRectChangingEventArgs.AllowRectChange Property

Definition

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

public:
 property bool AllowRectChange { bool get(); void set(bool value); };
bool AllowRectChange();

void AllowRectChange(bool value);
public bool AllowRectChange { get; set; }
var boolean = windowRectChangingEventArgs.allowRectChange;
windowRectChangingEventArgs.allowRectChange = boolean;
Public Property AllowRectChange As Boolean

Property Value

Boolean

bool

A value indicating whether or not the window rect is allowed to change. The default is true.

Setting this property to false prevents the window rect change from happening.

Applies to