AnchorRequestedEventArgs.Anchor Property
Definition
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.
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.