Class NumericUpDownAutomationPeer
Exposes NumericUpDown types to UI Automation.
Inherited Members
Namespace: System.Windows.Automation.Peers
Assembly: OpenSilver.Controls.Input.Toolkit.dll
Syntax
public class NumericUpDownAutomationPeer : UpDownBaseAutomationPeer<double>, IDependencyObject, IValueProvider, IRangeValueProvider
Constructors
| Improve this Doc View SourceNumericUpDownAutomationPeer(NumericUpDown)
Initializes a new instance of the NumericUpDownAutomationPeer class.
Declaration
public NumericUpDownAutomationPeer(NumericUpDown owner)
Parameters
| Type | Name | Description |
|---|---|---|
| NumericUpDown | owner | The NumericUpDown that is associated with this NumericUpDownAutomationPeer. |
Methods
| Improve this Doc View SourceGetClassNameCore()
Gets the name of the NumericUpDown that is associated with this NumericUpDownAutomationPeer. This method is called by GetClassName.
Declaration
protected override string GetClassNameCore()
Returns
| Type | Description |
|---|---|
| System.String | The name NumericUpDown. |
Overrides
GetPattern(PatternInterface)
Gets the control pattern for the NumericUpDown that is associated with this NumericUpDownAutomationPeer.
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
Explicit Interface Implementations
| Improve this Doc View SourceIRangeValueProvider.IsReadOnly
Gets a value indicating whether the value of the NumericUpDown is read-only.
Declaration
bool IRangeValueProvider.IsReadOnly { get; }
Returns
| Type | Description |
|---|---|
| System.Boolean |
Remarks
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
IRangeValueProvider.LargeChange
Gets the value to be added or subtracted from the Value property of the NumericUpDown.
Declaration
double IRangeValueProvider.LargeChange { get; }
Returns
| Type | Description |
|---|---|
| System.Double |
Remarks
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
IRangeValueProvider.Maximum
Gets the maximum value supported by the NumericUpDown.
Declaration
double IRangeValueProvider.Maximum { get; }
Returns
| Type | Description |
|---|---|
| System.Double |
Remarks
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
IRangeValueProvider.Minimum
Gets minimum value supported by the NumericUpDown.
Declaration
double IRangeValueProvider.Minimum { get; }
Returns
| Type | Description |
|---|---|
| System.Double |
Remarks
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
IRangeValueProvider.SetValue(Double)
Sets the value of the NumericUpDown.
Declaration
void IRangeValueProvider.SetValue(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | value | The value to set. |
Remarks
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
IRangeValueProvider.SmallChange
Gets the value to be added or subtracted from the Value property of the NumericUpDown.
Declaration
double IRangeValueProvider.SmallChange { get; }
Returns
| Type | Description |
|---|---|
| System.Double |
Remarks
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
IRangeValueProvider.Value
Gets the value of the NumericUpDown.
Declaration
double IRangeValueProvider.Value { get; }
Returns
| Type | Description |
|---|---|
| System.Double |
Remarks
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.