Share via


ScrollView.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

ScrollView のサブツリー内の UIElement

注釈

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

適用対象

こちらもご覧ください