| File: System\Windows\AutoResizedEvent.cs | Web Access |
| Project: src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationCore\PresentationCore.csproj (PresentationCore) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Windows { /// <summary> /// Handler for the AutoResized event on HwndSource. /// </summary> public delegate void AutoResizedEventHandler(object sender, AutoResizedEventArgs e); /// <summary> /// Event arguments for the AutoResized event on HwndSource. /// </summary> public class AutoResizedEventArgs : EventArgs { /// <summary> /// Creates a new AutoResized event argument. /// </summary> /// <param name="size">The new size of the HwndSource.</param> public AutoResizedEventArgs(Size size) { _size = size; } /// <summary> /// The new size of the HwndSource. /// </summary> public Size Size { get { return _size; } } private Size _size; } }