AnchorRequestedEventArgs 类

定义

ScrollViewer.AnchorRequested 事件提供数据。

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
继承
Object Platform::Object IInspectable AnchorRequestedEventArgs
属性

Windows 要求

设备系列
Windows 10, version 1809 (在 10.0.17763.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v7.0 中引入)

属性

Anchor

获取或设置在执行滚动定位时要使用的 定位点元素

AnchorCandidates

获取当前注册到滚动控件的定位点候选项集, (例如 ScrollViewer) 。

适用于