Bewerken

Delen via


HwndSource.AutoResized Event

Definition

Occurs when layout causes the HwndSource to automatically resize.

public:
 event System::Windows::AutoResizedEventHandler ^ AutoResized;
public event System.Windows.AutoResizedEventHandler AutoResized;
member this.AutoResized : System.Windows.AutoResizedEventHandler 
Public Custom Event AutoResized As AutoResizedEventHandler 
Public Event AutoResized As AutoResizedEventHandler 

Event Type

Remarks

The native behavior of HwndSource is to automatically resize content and the window region based on changes reported through the WPF layout system. The window does not resize if it is currently minimized or if SizeToContent is set to Manual.

Applies to