IScrollAnchorProvider.UnregisterAnchorCandidate(UIElement) 메서드

정의

UIElement를 잠재적인 스크롤 앵커 후보로 등록 취소합니다.

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

매개 변수

element
UIElement

IScrollAnchorProvider의 하위 트리 내의 UIElement입니다.

설명

요소의 CanBeScrollAnchor 속성이 false 로 변경되거나 요소가 시각적 트리에서 제거되면 프레임워크는 해당 요소의 상위 체인에서 첫 번째 IScrollAnchorProvider 를 찾고 UnregisterAnchorCandidate 메서드를 자동으로 호출합니다.

적용 대상

추가 정보