UIElement.CanBeScrollAnchor Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
property bool CanBeScrollAnchor { bool get(); void set(bool value); };
bool CanBeScrollAnchor();
void CanBeScrollAnchor(bool value);
C#
public bool CanBeScrollAnchor { get; set; }
var boolean = uIElement.canBeScrollAnchor;
uIElement.canBeScrollAnchor = boolean;
Public Property CanBeScrollAnchor As Boolean
Boolean
bool
true if an element should be considered as a candidate for scroll anchoring; otherwise, false. The default is false.
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|
For more info, see the remarks for the IScrollAnchorProvider interface.
Product | Versions |
---|---|
WinRT | Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |