HwndSource.AutoResized Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för