Dela via


AnchorRequestedEventArgs Class

Definition

Provides data for the ScrollViewer.AnchorRequested event.

public ref class AnchorRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AnchorRequestedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AnchorRequestedEventArgs
Public NotInheritable Class AnchorRequestedEventArgs
Inheritance
Object Platform::Object IInspectable AnchorRequestedEventArgs
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Properties

Anchor

Gets or sets the anchor element to use when performing scroll anchoring.

AnchorCandidates

Gets the set of anchor candidates that are currently registered with the scrolling control (for example, ScrollViewer).

Applies to