Class UpDownBaseAutomationPeer<T>
Exposes UpDownBase types to UI Automation.
Inheritance
Implements
Inherited Members
Namespace: System.Windows.Automation.Peers
Assembly: OpenSilver.dll
Syntax
public class UpDownBaseAutomationPeer<T> : FrameworkElementAutomationPeer, IValueProvider
Type Parameters
Name | Description |
---|---|
T | Type of the items. |
Constructors
| Improve this Doc View SourceUpDownBaseAutomationPeer(UpDownBase<T>)
Initializes a new instance of the UpDownBaseAutomationPeer class.
Declaration
public UpDownBaseAutomationPeer(UpDownBase<T> owner)
Parameters
Type | Name | Description |
---|---|---|
UpDownBase<T> | owner | The UpDownBase that is associated with this UpDownBaseAutomationPeer. |
Properties
| Improve this Doc View SourceIsReadOnly
Gets a value indicating whether the value of a control is read-only.
Declaration
public bool IsReadOnly { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Value
Gets the value of the control.
Declaration
public string Value { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Methods
| Improve this Doc View SourceGetAutomationControlTypeCore()
Gets the control type for the UpDownBase that is associated with this UpDownBaseAutomationPeer. This method is called by GetAutomationControlType.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
Type | Description |
---|---|
AutomationControlType | Group AutomationControlType. |
Overrides
Remarks
Return AutomationControlType.Spinner per MSDN article.
GetClassNameCore()
Gets the name of the UpDownBase that is associated with this UpDownBaseAutomationPeer. This method is called by GetClassName.
Declaration
protected override string GetClassNameCore()
Returns
Type | Description |
---|---|
System.String | The name UpDownBase. |
Overrides
| Improve this Doc View SourceGetPattern(PatternInterface)
Gets the control pattern for the UpDownBase that is associated with this UpDownBaseAutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
Type | Name | Description |
---|---|---|
PatternInterface | patternInterface | The desired PatternInterface. |
Returns
Type | Description |
---|---|
System.Object | The desired AutomationPeer or null. |
Overrides
| Improve this Doc View SourceSetValue(String)
Sets the value of a control from a string.
Declaration
public void SetValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value to set. |
Remarks
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.