ProgressBarAutomationPeer ProgressBarAutomationPeer ProgressBarAutomationPeer Class

Exposes ProgressBar types to Microsoft UI Automation.

Syntax

Declaration

public class ProgressBarAutomationPeerpublic class ProgressBarAutomationPeerPublic Class ProgressBarAutomationPeer

Inheritance Hierarchy

Inherited Members

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Remarks

The Windows Runtime ProgressBar class creates a new ProgressBarAutomationPeer as its OnCreateAutomationPeer definition. Derive your automation peer from ProgressBarAutomationPeer if you are deriving a custom class from ProgressBar and want to add automation support for additional features that you enabled in your custom class. Then override OnCreateAutomationPeer so that it returns your custom peer.

Default peer implementation and overrides in ProgressBarAutomationPeer

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

Constructors summary

Initializes a new instance of the ProgressBarAutomationPeer class.

Constructors

  • ProgressBarAutomationPeer(Windows.UI.Xaml.Controls.ProgressBar)
    ProgressBarAutomationPeer(Windows.UI.Xaml.Controls.ProgressBar)
    ProgressBarAutomationPeer(Windows.UI.Xaml.Controls.ProgressBar)
    ProgressBarAutomationPeer(Windows.UI.Xaml.Controls.ProgressBar)

    Initializes a new instance of the ProgressBarAutomationPeer class.

    public ProgressBarAutomationPeer(Windows.UI.Xaml.Controls.ProgressBar)public ProgressBarAutomationPeer(Windows.UI.Xaml.Controls.ProgressBar)Public Function ProgressBarAutomationPeer(Windows.UI.Xaml.Controls.ProgressBar) As

    Parameters

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute
Windows.Foundation.Metadata.ComposableAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute

Details

Assembly

Windows.UI.Xaml.Automation.Peers.dll