Share via


ScrollView.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 = scrollView.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.

Applies to