IScrollAnchorProvider.UnregisterAnchorCandidate(UIElement) Method
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.
public:
void UnregisterAnchorCandidate(UIElement ^ element);
void UnregisterAnchorCandidate(UIElement const& element);
public void UnregisterAnchorCandidate(UIElement element);
function unregisterAnchorCandidate(element)
Public Sub UnregisterAnchorCandidate (element As UIElement)
Parameters
- element
- UIElement
A UIElement within the subtree of the IScrollAnchorProvider.
Remarks
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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for