Dela via


AnchorRequestedEventArgs.Anchor Property

Definition

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

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

Property Value

The UIElement to use as the CurrentAnchor. The default is null.

Remarks

The element must be a descendent of the scrolling control.

Applies to

See also