다음을 통해 공유


ItemsRepeaterScrollHost.CurrentAnchor 속성

정의

스크롤 앵커링에 사용할 현재 선택된 앵커 요소입니다.

이 설명서는 UWP용 WinUI 2에 적용됩니다(Windows 앱 SDKWinUI의 경우 Windows 앱 SDK 네임스페이스 참조).

public:
 property UIElement ^ CurrentAnchor { UIElement ^ get(); };
UIElement CurrentAnchor();
public UIElement CurrentAnchor { get; }
Public ReadOnly Property CurrentAnchor As UIElement

속성 값

레이아웃 패스 후 스크롤 고정을 위해 가장 최근에 선택한 UIElement 또는 null입니다.

설명

ItemsRepeaterScrollHost에 등록된 앵커 후보가 없거나 선택되지 않은 경우 CurrentAnchor는 null입니다.

적용 대상

추가 정보