EffectiveViewportChangedEventArgs Class
Definition
Provides data for the FrameworkElement.EffectiveViewportChanged event.
public ref class EffectiveViewportChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.WebHostHidden]
class EffectiveViewportChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.WebHostHidden]
public sealed class EffectiveViewportChangedEventArgs
Public NotInheritable Class EffectiveViewportChangedEventArgs
- Inheritance
-
EffectiveViewportChangedEventArgs
- Attributes
-
Windows.Foundation.Metadata.ContractVersionAttribute Windows.Foundation.Metadata.MarshalingBehaviorAttribute Windows.Foundation.Metadata.WebHostHiddenAttribute
Properties
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 |
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 |
Gets the Rect representing the effective viewport. |
MaxViewport |
Gets the Rect representing the maximum effective viewport with the current viewport sizes. |