ScrollViewer.CurrentAnchor Property

Definition

The currently chosen anchor element to use for scroll anchoring.

C#
public UIElement CurrentAnchor { get; }

Property Value

The most recently chosen UIElement for scroll anchoring after a layout pass, or null.

Implements

Remarks

If there are no anchor candidates registered with the ScrollViewer or none have been chosen, then CurrentAnchor is null.

Applies to

Produk Versi
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6

See also