Class TimePickerAutomationPeer
Exposes TimePicker types to UI Automation.
Inheritance
System.Object
TimePickerAutomationPeer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Automation.Peers
Assembly: OpenSilver.Controls.Input.Toolkit.dll
Syntax
public sealed class TimePickerAutomationPeer : PickerAutomationPeer, IDependencyObject, IExpandCollapseProvider, IValueProvider
Constructors
| Improve this Doc View SourceTimePickerAutomationPeer(TimePicker)
Initializes a new instance of the TimePickerAutomationPeer class.
Declaration
public TimePickerAutomationPeer(TimePicker owner)
Parameters
Type | Name | Description |
---|---|---|
TimePicker | owner | The TimePicker that is associated to this AutomationPeer. |
Methods
| Improve this Doc View SourceGetClassNameCore()
Gets the name of the TimePicker that is associated with this PickerAutomationPeer. This method is called by GetClassName.
Declaration
protected override string GetClassNameCore()
Returns
Type | Description |
---|---|
System.String | The name Picker. |
Overrides
| Improve this Doc View SourceGetPattern(PatternInterface)
Returns the control pattern for the UIElement that is associated with this FrameworkElementAutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
Type | Name | Description |
---|---|---|
PatternInterface | patternInterface | One of the enumeration values. |
Returns
Type | Description |
---|---|
System.Object | Returns an AutomationPeer that can handle the the pattern, or null. |
Overrides
Explicit Interface Implementations
| Improve this Doc View SourceIValueProvider.IsReadOnly
Gets a value indicating whether the value is read only.
Declaration
bool IValueProvider.IsReadOnly { get; }
Returns
Type | Description |
---|---|
System.Boolean |
IValueProvider.SetValue(String)
Sets the control's text value.
Declaration
void IValueProvider.SetValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The string value. |
IValueProvider.Value
Gets a string representation of the current text value.
Declaration
string IValueProvider.Value { get; }
Returns
Type | Description |
---|---|
System.String |