Share via


EffectiveViewportChangedEventArgs 類別

定義

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

屬性

BringIntoViewDistanceX

取得 X 軸中轉譯的總和,這個總和需要 讓 FrameworkElement 檢視包含元素的每個檢視區。

BringIntoViewDistanceY

取得 Y 軸中轉譯的總和,此總和需要 讓 FrameworkElement 檢視包含元素的每個檢視區。

EffectiveViewport

取得代表有效檢視區的 Rect

MaxViewport

取得 Rect ,表示具有目前檢視區大小的最大有效檢視區。

適用於

另請參閱