IScrollAnchorProvider.CurrentAnchor 屬性

定義

目前選擇的錨點元素,用於捲動錨定。

public:
 property UIElement ^ CurrentAnchor { UIElement ^ get(); };
UIElement CurrentAnchor();
public UIElement CurrentAnchor { get; }
var uIElement = iScrollAnchorProvider.currentAnchor;
Public ReadOnly Property CurrentAnchor As UIElement

屬性值

在版面設定階段或Null之後捲動錨定的最新選擇UIElement

備註

如果沒有向 IScrollAnchorProvider 註冊的錨點候選項目,或尚未選擇任何錨點候選項目,則 CurrentAnchor 為 null

適用於

另請參閱