Share via


ScrollViewer.UnregisterAnchorCandidate(UIElement) メソッド

定義

UIElement を潜在的なスクロール アンカーとして登録解除します。

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

パラメーター

element
UIElement

ScrollViewer のサブツリー内の UIElement

実装

注釈

要素の CanBeScrollAnchor プロパティが false に変更された場合 (または、ビジュアル ツリーから要素が削除された場合)、フレームワークはその要素の先祖のチェーン内で最初の IScrollAnchorProvider を検索し、UnregisterAnchorCandidate メソッドを自動的に呼び出します。

適用対象

こちらもご覧ください