-api-id | -api-type | ms.custom |
---|---|---|
M:Windows.UI.Xaml.Controls.ScrollViewer.UnregisterAnchorCandidate(Windows.UI.Xaml.UIElement) |
winrt method |
RS5 |
Unregisters a UIElement as a potential scroll anchor.
A UIElement within the subtree of the ScrollViewer.
When an element's CanBeScrollAnchor property changes to false (or the element is removed from the visual tree), the framework locates the first IScrollAnchorProvider in that element's chain of ancestors and automatically calls its UnregisterAnchorCandidate method.
IScrollAnchorProvider, RegisterAnchorCandidate, CanBeScrollAnchor