WindowSizeChangedEventArgs 类

定义

包含 Window.SizeChanged 事件返回的窗口的大小状态信息。

public ref class WindowSizeChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WindowSizeChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WindowSizeChangedEventArgs
Public NotInheritable Class WindowSizeChangedEventArgs
继承
Object Platform::Object IInspectable WindowSizeChangedEventArgs
属性

属性

Handled

获取或设置是否处理了 Window.SizeChanged 事件。

Size

获取一个值,该值指示窗口的大小(以有效 (视图) 像素为单位)。

适用于