ScrollViewer.UnregisterAnchorCandidate(UIElement) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
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 メソッドを自動的に呼び出します。