Share via


ScrollPresenter.CurrentAnchor Property

Definition

Gets the most recently chosen UIElement for scroll anchoring after a layout pass, if any.

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

Property Value

The most recently chosen UIElement for scroll anchoring after a layout pass, if any; otherwise, null.

Implements

Applies to