EffectiveViewportChangedEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides data for the FrameworkElement.EffectiveViewportChanged event.
public ref class EffectiveViewportChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class EffectiveViewportChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class EffectiveViewportChangedEventArgs
Public NotInheritable Class EffectiveViewportChangedEventArgs
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|
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. |