Share via


AnchorRequestedEventArgs.Anchor 屬性

定義

取得或設定執行捲動錨定時要使用的 錨點專案

public:
 property UIElement ^ Anchor { UIElement ^ get(); void set(UIElement ^ value); };
UIElement Anchor();

void Anchor(UIElement value);
public UIElement Anchor { get; set; }
var uIElement = anchorRequestedEventArgs.anchor;
anchorRequestedEventArgs.anchor = uIElement;
Public Property Anchor As UIElement

屬性值

要作為CurrentAnchor使用的UIElement。 預設值為 null

備註

專案必須是捲動控制項的子系。

適用於

另請參閱