FrameworkElement.InvalidateViewport FrameworkElement.InvalidateViewport FrameworkElement.InvalidateViewport FrameworkElement.InvalidateViewport Method

Definition

Invalidates the viewport state for a UIElement that is used to calculate the effective viewport.

protected : void InvalidateViewport()
void InvalidateViewport() const;
protected void InvalidateViewport()
Protected Sub InvalidateViewport()

Additional features and requirements

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

Remarks

The UIElement must have previously been registered with the framework using the RegisterAsScrollPort method.

See Also

  • E:Windows.UI.Xaml.FrameworkElement.EffectiveViewportChanged * M:Windows.UI.Xaml.UIElement.RegisterAsScrollPort(Windows.UI.Xaml.UIElement)