EffectiveViewportChangedEventArgs EffectiveViewportChangedEventArgs EffectiveViewportChangedEventArgs EffectiveViewportChangedEventArgs Class

Definition

Provides data for the FrameworkElement.EffectiveViewportChanged event.

public : sealed class EffectiveViewportChangedEventArgs
struct winrt::Windows::UI::Xaml::EffectiveViewportChangedEventArgs
public sealed class EffectiveViewportChangedEventArgs
Public NotInheritable Class EffectiveViewportChangedEventArgs
Attributes

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)

Properties

BringIntoViewDistanceX BringIntoViewDistanceX BringIntoViewDistanceX BringIntoViewDistanceX

Gets the sum of translation in the X-axis that is required to bring the FrameworkElement into view of each viewport containing the element.

BringIntoViewDistanceY BringIntoViewDistanceY BringIntoViewDistanceY BringIntoViewDistanceY

Gets the sum of translation in the Y-axis that is required to bring the FrameworkElement into view of each viewport containing the element.

EffectiveViewport EffectiveViewport EffectiveViewport EffectiveViewport

Gets the Rect representing the effective viewport.

MaxViewport MaxViewport MaxViewport MaxViewport

Gets the Rect representing the maximum effective viewport with the current viewport sizes.

See also