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

获取将 FrameworkElement 引入包含 元素的每个视区视图所需的 X 轴中的平移之和。

BringIntoViewDistanceY

获取将 FrameworkElement 引入包含 元素的每个视区视图所需的 Y 轴中的平移之和。

EffectiveViewport

获取表示有效视区的 Rect

MaxViewport

获取 Rect ,它表示具有当前视区大小的最大有效视区。

适用于

另请参阅