TimePickerAutomationPeer
TimePickerAutomationPeer
TimePickerAutomationPeer
TimePickerAutomationPeer
Class
Definition
Exposes TimePicker types to Microsoft UI Automation.
public : class TimePickerAutomationPeer : FrameworkElementAutomationPeer, ITimePickerAutomationPeerpublic class TimePickerAutomationPeer : FrameworkElementAutomationPeer, ITimePickerAutomationPeerPublic Class TimePickerAutomationPeer Inherits FrameworkElementAutomationPeer Implements ITimePickerAutomationPeer// This API is not available in Javascript.
- Inheritance
-
FrameworkElementAutomationPeerFrameworkElementAutomationPeerFrameworkElementAutomationPeerFrameworkElementAutomationPeerTimePickerAutomationPeerTimePickerAutomationPeerTimePickerAutomationPeerTimePickerAutomationPeer
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Inherited Members
Inherited methods
ClearValue(DependencyProperty)ClearValue(DependencyProperty)ClearValue(DependencyProperty)ClearValue(DependencyProperty)
CreatePeerForElement(UIElement)CreatePeerForElement(UIElement)CreatePeerForElement(UIElement)CreatePeerForElement(UIElement)
GenerateRawElementProviderRuntimeIdGenerateRawElementProviderRuntimeIdGenerateRawElementProviderRuntimeIdGenerateRawElementProviderRuntimeId
GetAnimationBaseValue(DependencyProperty)GetAnimationBaseValue(DependencyProperty)GetAnimationBaseValue(DependencyProperty)GetAnimationBaseValue(DependencyProperty)
GetAutomationControlTypeCoreGetAutomationControlTypeCoreGetAutomationControlTypeCoreGetAutomationControlTypeCore
GetElementFromPoint(Point)GetElementFromPoint(Point)GetElementFromPoint(Point)GetElementFromPoint(Point)
GetElementFromPointCore(Point)GetElementFromPointCore(Point)GetElementFromPointCore(Point)GetElementFromPointCore(Point)
GetLocalizedControlTypeCoreGetLocalizedControlTypeCoreGetLocalizedControlTypeCoreGetLocalizedControlTypeCore
GetLocalizedLandmarkTypeCoreGetLocalizedLandmarkTypeCoreGetLocalizedLandmarkTypeCoreGetLocalizedLandmarkTypeCore
GetPattern(PatternInterface)GetPattern(PatternInterface)GetPattern(PatternInterface)GetPattern(PatternInterface)
GetPatternCore(PatternInterface)GetPatternCore(PatternInterface)GetPatternCore(PatternInterface)GetPatternCore(PatternInterface)
GetPeerFromPointCore(Point)GetPeerFromPointCore(Point)GetPeerFromPointCore(Point)GetPeerFromPointCore(Point)
GetValue(DependencyProperty)GetValue(DependencyProperty)GetValue(DependencyProperty)GetValue(DependencyProperty)
ListenerExists(AutomationEvents)ListenerExists(AutomationEvents)ListenerExists(AutomationEvents)ListenerExists(AutomationEvents)
Navigate(AutomationNavigationDirection)Navigate(AutomationNavigationDirection)Navigate(AutomationNavigationDirection)Navigate(AutomationNavigationDirection)
NavigateCore(AutomationNavigationDirection)NavigateCore(AutomationNavigationDirection)NavigateCore(AutomationNavigationDirection)NavigateCore(AutomationNavigationDirection)
PeerFromProvider(IRawElementProviderSimple)PeerFromProvider(IRawElementProviderSimple)PeerFromProvider(IRawElementProviderSimple)PeerFromProvider(IRawElementProviderSimple)
ProviderFromPeer(AutomationPeer)ProviderFromPeer(AutomationPeer)ProviderFromPeer(AutomationPeer)ProviderFromPeer(AutomationPeer)
RaiseAutomationEvent(AutomationEvents)RaiseAutomationEvent(AutomationEvents)RaiseAutomationEvent(AutomationEvents)RaiseAutomationEvent(AutomationEvents)
RaiseNotificationEvent(AutomationNotificationKind,AutomationNotificationProcessing,String,String)RaiseNotificationEvent(AutomationNotificationKind,AutomationNotificationProcessing,String,String)RaiseNotificationEvent(AutomationNotificationKind,AutomationNotificationProcessing,String,String)RaiseNotificationEvent(AutomationNotificationKind,AutomationNotificationProcessing,String,String)
RaisePropertyChangedEvent(AutomationProperty,Object,Object)RaisePropertyChangedEvent(AutomationProperty,Object,Object)RaisePropertyChangedEvent(AutomationProperty,Object,Object)RaisePropertyChangedEvent(AutomationProperty,Object,Object)
RaiseStructureChangedEvent(AutomationStructureChangeType,AutomationPeer)RaiseStructureChangedEvent(AutomationStructureChangeType,AutomationPeer)RaiseStructureChangedEvent(AutomationStructureChangeType,AutomationPeer)RaiseStructureChangedEvent(AutomationStructureChangeType,AutomationPeer)
RaiseTextEditTextChangedEvent(AutomationTextEditChangeType,IVectorView{String})RaiseTextEditTextChangedEvent(AutomationTextEditChangeType,IVectorView{String})RaiseTextEditTextChangedEvent(AutomationTextEditChangeType,IVectorView{String})RaiseTextEditTextChangedEvent(AutomationTextEditChangeType,IVectorView{String})
ReadLocalValue(DependencyProperty)ReadLocalValue(DependencyProperty)ReadLocalValue(DependencyProperty)ReadLocalValue(DependencyProperty)
RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)
SetParent(AutomationPeer)SetParent(AutomationPeer)SetParent(AutomationPeer)SetParent(AutomationPeer)
Inherited properties
Remarks
The Windows Runtime TimePicker class creates a new TimePickerAutomationPeer as its OnCreateAutomationPeer definition. Derive your automation peer from TimePickerAutomationPeer if you are deriving a custom class from TimePicker 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 TimePickerAutomationPeer
TimePickerAutomationPeer has overrides of Core methods such that the associated AutomationPeer methods provide peer-specific information to a Microsoft UI Automation client.
- GetClassName returns "TimePicker".
- GetAutomationControlType returns AutomationControlType.Group.
- GetName attempts to get a string from the owner control's Header property. Otherwise, the framework peer behavior of using AutomationProperties.Name applies.
- GetPattern reports no pattern support. The peer also has other behaviors that are provided by the base FrameworkElementAutomationPeer class. For more info, see "Base implementation in FrameworkElementAutomationPeer" section of Custom automation peers.
Constructors
TimePickerAutomationPeer(TimePicker) TimePickerAutomationPeer(TimePicker) TimePickerAutomationPeer(TimePicker) TimePickerAutomationPeer(TimePicker)
Initializes a new instance of the TimePickerAutomationPeer class.
public : TimePickerAutomationPeer(TimePicker owner)public TimePickerAutomationPeer(TimePicker owner)Public Sub New(owner As TimePicker)// This API is not available in Javascript.
Parameters
The TimePicker to create the peer for.
- See Also