IScrollAnchorProvider.UnregisterAnchorCandidate(UIElement) Metodo

Definizione

Annulla la registrazione di un OGGETTO UIElement come potenziale candidato di ancoraggio dello scorrimento.

public:
 void UnregisterAnchorCandidate(UIElement ^ element);
void UnregisterAnchorCandidate(UIElement const& element);
public void UnregisterAnchorCandidate(UIElement element);
function unregisterAnchorCandidate(element)
Public Sub UnregisterAnchorCandidate (element As UIElement)

Parametri

element
UIElement

UIElement all'interno del sottoalbero di IScrollAnchorProvider.

Commenti

Quando la proprietà CanBeScrollAnchor di un elemento viene modificata in false (o l'elemento viene rimosso dalla struttura ad albero visuale), il framework individua il primo IScrollAnchorProvider nella catena di predecessori dell'elemento e chiama automaticamente il relativo metodo UnregisterAnchorCandidate.

Si applica a

Vedi anche