Interface IValueProvider
Exposes methods and properties to support access by a UI automation client to controls that have an intrinsic value that does not span a range and that can be represented as a string.
Namespace: System.Windows.Automation.Provider
Assembly: OpenSilver.dll
Syntax
public interface IValueProvider
Properties
| Improve this Doc View SourceIsReadOnly
Gets a value that indicates whether the value of a control is read-only.
Declaration
bool IsReadOnly { get; }
Property Value
Type | Description |
---|---|
System.Boolean | true if the value is read-only; false if it can be modified. |
Value
Gets the value of the control.
Declaration
string Value { get; }
Property Value
Type | Description |
---|---|
System.String | The value of the control. |
Methods
| Improve this Doc View SourceSetValue(String)
Sets the value of a control.
Declaration
void SetValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The value to set. The provider is responsible for converting the value to the appropriate data type. |