Capture​Element​Automation​Peer Capture​Element​Automation​Peer Capture​Element​Automation​Peer Class

Definition

Exposes CaptureElement types to Microsoft UI Automation.

public class CaptureElementAutomationPeer : FrameworkElementAutomationPeer, ICaptureElementAutomationPeerpublic class CaptureElementAutomationPeer : FrameworkElementAutomationPeer, ICaptureElementAutomationPeerPublic Class CaptureElementAutomationPeer Inherits FrameworkElementAutomationPeer Implements ICaptureElementAutomationPeer
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties

Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)Windows.UI.Xaml.Automation.Peers.AutomationPeer.RaiseTextEditTextChangedEvent(Windows.UI.Xaml.Automation.AutomationTextEditChangeType,Windows.Foundation.Collections.IVectorView<System.String>)

Remarks

The Windows Runtime CaptureElement class creates a new CaptureElementAutomationPeer as its OnCreateAutomationPeer definition. CaptureElement is sealed, so the normal scenario of deriving from the class and its existing peer isn't applicable to CaptureElementAutomationPeer.

Also, the CaptureElement isn't focusable, which limits its participation in a Microsoft UI Automation tree view of the UI.

Default peer implementation and overrides in CaptureElementAutomationPeer

CaptureElementAutomationPeer has overrides of Core methods such that the associated AutomationPeer methods provide peer-specific information to a Microsoft UI Automation client.

Constructors

CaptureElementAutomationPeer(CaptureElement) CaptureElementAutomationPeer(CaptureElement) CaptureElementAutomationPeer(CaptureElement)

Initializes a new instance of the CaptureElementAutomationPeer class.

public CaptureElementAutomationPeer(CaptureElement owner)public CaptureElementAutomationPeer(CaptureElement owner)Public Sub New(owner As CaptureElement)
Parameters
owner
CaptureElement CaptureElement CaptureElement

The CaptureElement instance to create the peer for.

Attributes

See Also