Windows Dev Center

ProgressBarAutomationPeer Class

Espone i tipi ProgressBar all'automazione interfaccia utente Microsoft.

Ereditarietà

Object
  DependencyObject
    AutomationPeer
      FrameworkElementAutomationPeer
        RangeBaseAutomationPeer
          ProgressBarAutomationPeer

Sintassi


public class ProgressBarAutomationPeer : RangeBaseAutomationPeer

Attributi

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

Membri

ProgressBarAutomationPeerClasse include questi tipi di membri:

Costruttori

ProgressBarAutomationPeerClasse include questi costruttori.

CostruttoreDescrizione
ProgressBarAutomationPeer Initializes a new instance of the ProgressBarAutomationPeer class.

 

Metodi

The ProgressBarAutomationPeer Classe dispone di tali metodi. Eredita inoltre i metodi da Object Classe.

MetodoDescrizione
ClearValue Clears the local value of a dependency property. (Ereditata da DependencyObject)
GetAcceleratorKey Gets the accelerator key combinations for the object that is associated with the UI Automation peer. (Ereditata da AutomationPeer)
GetAcceleratorKeyCore Provides the peer's behavior when a Microsoft UI Automation client calls GetAcceleratorKey or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
GetAccessKey Gets the access key for the element that is associated with the automation peer. (Ereditata da AutomationPeer)
GetAccessKeyCore Provides the peer's behavior when a Microsoft UI Automation client calls GetAccessKey or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
GetAnimationBaseValue Returns any base value established for a dependency property, which would apply in cases where an animation is not active. (Ereditata da DependencyObject)
GetAutomationControlType Gets the control type for the element that is associated with the UI Automation peer. (Ereditata da AutomationPeer)
GetAutomationControlTypeCore Provides the peer's behavior when a Microsoft UI Automation client calls GetAutomationControlType or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
GetAutomationId Gets the AutomationId of the element that is associated with the automation peer. (Ereditata da AutomationPeer)
GetAutomationIdCore Provides the peer's behavior when a Microsoft UI Automation client calls GetAutomationId or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
GetBoundingRectangle Gets the Rect object that represents the screen coordinates of the element that is associated with the automation peer. (Ereditata da AutomationPeer)
GetBoundingRectangleCore Provides the peer's behavior when a Microsoft UI Automation client calls GetBoundingRectangle or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
GetChildren Gets the collection of child elements that are represented in the UI Automation tree as immediate child elements of the automation peer. (Ereditata da AutomationPeer)
GetChildrenCore Provides the peer's behavior when a Microsoft UI Automation client calls GetChildren or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
GetClassName Gets a name that is used with AutomationControlType, to differentiate the control that is represented by this AutomationPeer. (Ereditata da AutomationPeer)
GetClassNameCore Provides the peer's behavior when a Microsoft UI Automation client calls GetClassName or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
GetClickablePoint Gets a point on the element that is associated with the automation peer that responds to a mouse click. (Ereditata da AutomationPeer)
GetClickablePointCore Provides the peer's behavior when a Microsoft UI Automation client calls GetClickablePoint or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
GetControlledPeers Provides the peer's behavior when a Microsoft UI Automation client calls GetControlledPeers or an equivalent Microsoft UI Automation client API such as getting a property value as identified by UIA_ControllerForPropertyId. (Ereditata da AutomationPeer)
GetControlledPeersCore Gets a list of the controlled peers for the current automation peer. (Ereditata da AutomationPeer)
GetHelpText Gets text that describes the functionality of the control that is associated with the automation peer. (Ereditata da AutomationPeer)
GetHelpTextCore Provides the peer's behavior when a Microsoft UI Automation client calls GetHelpText or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
GetItemStatus Gets text that conveys the visual status of the element that is associated with this automation peer. (Ereditata da AutomationPeer)
GetItemStatusCore Provides the peer's behavior when a Microsoft UI Automation client calls GetItemStatus or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
GetItemType Gets a string that describes what kind of item an element represents. (Ereditata da AutomationPeer)
GetItemTypeCore Provides the peer's behavior when a Microsoft UI Automation client calls GetItemType or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
GetLabeledBy Gets the AutomationPeer for the UIElement that is targeted to the element. (Ereditata da AutomationPeer)
GetLabeledByCore Provides the peer's behavior when a Microsoft UI Automation client calls GetLabeledBy or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
GetLiveSetting Gets the live setting notification behavior information for the object that is associated with the UI Automation peer. (Ereditata da AutomationPeer)
GetLiveSettingCore Provides the peer's behavior when a Microsoft UI Automation client calls GetLiveSetting or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
GetLocalizedControlType Gets a localized string that represents the AutomationControlType value for the control that is associated with this automation peer. (Ereditata da AutomationPeer)
GetLocalizedControlTypeCore Provides the peer's behavior when a Microsoft UI Automation client calls GetLocalizedControlType or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
GetName Gets text that describes the element that is associated with this automation peer. The Microsoft UI Automation Name value is the primary identifier used by most assistive technology when they represent your app's UI by interacting with the Microsoft UI Automation framework. (Ereditata da AutomationPeer)
GetNameCore Provides the peer's behavior when a Microsoft UI Automation client calls GetName or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
GetOrientation Gets a value that indicates the explicit control orientation, if any. (Ereditata da AutomationPeer)
GetOrientationCore Provides the peer's behavior when a Microsoft UI Automation client calls GetOrientation or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
GetParent Gets the AutomationPeer that is the parent of this AutomationPeer. (Ereditata da AutomationPeer)
GetPattern Gets the control pattern that is associated with the specified PatternInterface. (Ereditata da AutomationPeer)
GetPatternCore Provides the peer's behavior when a Microsoft UI Automation client calls GetPattern or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
GetPeerFromPoint Gets an AutomationPeer from the specified point. (Ereditata da AutomationPeer)
GetPeerFromPointCore Provides the peer's behavior when a Microsoft UI Automation client calls GetPeerFromPoint or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
GetValue Returns the current effective value of a dependency property from a DependencyObject. (Ereditata da DependencyObject)
HasKeyboardFocus Gets a value that indicates whether the element that is associated with this automation peer currently has keyboard focus. (Ereditata da AutomationPeer)
HasKeyboardFocusCore Provides the peer's behavior when a Microsoft UI Automation client calls HasKeyboardFocus or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
InvalidatePeer Triggers recalculation of the main properties of the AutomationPeer and raises the PropertyChanged notification to the automation client if the properties have changed. (Ereditata da AutomationPeer)
IsContentElement Gets a value that indicates whether the element that is associated with this automation peer contains data that is presented to the user. (Ereditata da AutomationPeer)
IsContentElementCore Provides the peer's behavior when a Microsoft UI Automation client calls IsContentElement or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
IsControlElement Gets a value that indicates whether the element is understood by the user as interactive or as contributing to the logical structure of the control in the GUI. (Ereditata da AutomationPeer)
IsControlElementCore Provides the peer's behavior when a Microsoft UI Automation client calls IsControlElement or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
IsEnabled Gets a value that indicates whether the element associated with this automation peer supports interaction. (Ereditata da AutomationPeer)
IsEnabledCore Provides the peer's behavior when a Microsoft UI Automation client calls IsEnabled or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
IsKeyboardFocusable Gets a value that indicates whether the element can accept keyboard focus. (Ereditata da AutomationPeer)
IsKeyboardFocusableCore Provides the peer's behavior when a Microsoft UI Automation client calls IsKeyboardFocusable or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
IsOffscreen Gets a value that indicates whether an element is off the screen. (Ereditata da AutomationPeer)
IsOffscreenCore Provides the peer's behavior when a Microsoft UI Automation client calls IsOffscreen or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
IsPassword Gets a value that indicates whether the element contains sensitive content. (Ereditata da AutomationPeer)
IsPasswordCore Provides the peer's behavior when a Microsoft UI Automation client calls IsPassword or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
IsRequiredForForm Gets a value that indicates whether the element that is associated with this peer must be completed on a form. (Ereditata da AutomationPeer)
IsRequiredForFormCore Provides the peer's behavior when a Microsoft UI Automation client calls IsRequiredForForm or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
PeerFromProvider Gets an AutomationPeer for the specified IRawElementProviderSimple proxy. (Ereditata da AutomationPeer)
ProviderFromPeer Gets the IRawElementProviderSimple proxy for the specified AutomationPeer. (Ereditata da AutomationPeer)
RaiseAutomationEvent Raises an automation event. (Ereditata da AutomationPeer)
RaisePropertyChangedEvent Raises an event to notify the automation client of a changed property value. (Ereditata da AutomationPeer)
ReadLocalValue Returns the local value of a dependency property, if a local value is set. (Ereditata da DependencyObject)
SetFocus Sets the keyboard focus on the element that is associated with this automation peer. (Ereditata da AutomationPeer)
SetFocusCore Provides the peer's behavior when a Microsoft UI Automation client calls SetFocus or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)
SetValue(DependencyProperty, Object) Sets the local value of a dependency property on a DependencyObject. (Ereditata da DependencyObject)
SetValue(Double) Sets the value of the control, as an implementation of the IValueProvider pattern. (Ereditata da RangeBaseAutomationPeer)
ShowContextMenu Shows the available context menu for the owner element. (Ereditata da AutomationPeer)
ShowContextMenuCore Provides the peer's behavior when a Microsoft UI Automation client calls ShowContextMenu or an equivalent Microsoft UI Automation client API. (Ereditata da AutomationPeer)

 

Proprietà

Classe dispone di tali proprietà. di ProgressBarAutomationPeer

ProprietàTipo di accessoDescrizione

Dispatcher

Sola letturaGets the CoreDispatcher that this object is associated with. (Ereditata da DependencyObject)

EventsSource

Lettura/scritturaGets or sets an AutomationPeer that is reported to the automation client as the source for all the events that come from this AutomationPeer. See Remarks. (Ereditata da AutomationPeer)

IsReadOnly

Sola letturaGets a value that indicates whether the value of a control is read-only. (Ereditata da RangeBaseAutomationPeer)

LargeChange

Sola letturaGets the value that is added to or subtracted from the Value property when a large change is made, such as with the PAGE DOWN key. (Ereditata da RangeBaseAutomationPeer)

Maximum

Sola letturaGets the maximum range value that is supported by the control. (Ereditata da RangeBaseAutomationPeer)

Minimum

Sola letturaGets the minimum range value that is supported by the control. (Ereditata da RangeBaseAutomationPeer)

Owner

Sola letturaGets the UIElement owner that is associated with this FrameworkElementAutomationPeer. (Ereditata da FrameworkElementAutomationPeer)

SmallChange

Sola letturaGets the value that is added to or subtracted from the Value property when a small change is made, such as with an arrow key. (Ereditata da RangeBaseAutomationPeer)

Value

Sola letturaGets the value of the control. (Ereditata da RangeBaseAutomationPeer)

 

Note

La classe ProgressBar di Windows Runtime crea un nuovo oggetto ProgressBarAutomationPeer come relativa definizione OnCreateAutomationPeer. Derivare il peer di automazione dall'oggetto ProgressBarAutomationPeer se si deriva una classe personalizzata dall'oggetto ProgressBar e si desidera aggiungere il supporto di automazione per ulteriori funzionalità abilitate nella classe personalizzata in uso. Successivamente, eseguire l'override del metodo OnCreateAutomationPeer in modo che restituisca il peer personalizzato.

Impostare in modo predefinito l'implementazione del peer e gli override nell'oggetto ProgressBarAutomationPeer

L'oggetto ProgressBarAutomationPeer dispone di override di metodi Core in modo che i metodi AutomationPeer associati forniscano informazioni specifiche del peer a un client di automazione interfaccia utente.

Il peer presenta anche altri comportamenti forniti dalla classe base FrameworkElementAutomationPeer. Per ulteriori informazioni, vedere la sezione "Implementazione di base in FrameworkElementAutomationPeer" di Peer di automazione personalizzati.

Requisiti

Client supportato minimo

Windows 8 [Solo applicazioni Windows Store]

Server supportato minimo

Windows Server 2012 [Solo applicazioni Windows Store]

Spazio dei nomi

Windows.UI.Xaml.Automation.Peers
Windows::UI::Xaml::Automation::Peers [C++]

Metadati

Windows.winmd

Vedere anche

ProgressBar
RangeBaseAutomationPeer
IRangeValueProvider
Peer di automazione personalizzati

 

 

Mostra:
© 2015 Microsoft