共用方式為


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

取得值,這個值表示以有效 (檢視) 圖元單位為單位的視窗大小。

適用於