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

実装

Windows の要件

デバイス ファミリ
Windows 10, version 1809 (10.0.17763.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v7.0 で導入)

注釈

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

適用対象

こちらもご覧ください