Share via


AutomationAnnotation.Element Property

Definition

Gets or sets the element that implements the annotation.

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

void Element(UIElement value);
public UIElement Element { get; set; }
var uIElement = automationAnnotation.element;
automationAnnotation.element = uIElement;
Public Property Element As UIElement

Property Value

The element that implements the annotation.

Applies to