UIElement.CanBeScrollAnchor Property


Gets or sets a value that indicates whether the UIElement can be a candidate for scroll anchoring.

 property bool CanBeScrollAnchor { bool get(); void set(bool value); };
bool CanBeScrollAnchor();

void CanBeScrollAnchor(bool value);
public bool CanBeScrollAnchor { get; set; }
Public Property CanBeScrollAnchor As Boolean

Property Value


true if an element should be considered as a candidate for scroll anchoring; otherwise, false. The default is false.


For more info, see the remarks for the IScrollAnchorProvider interface.

Applies to

See also