Show / Hide Table of Contents

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 Source

IsReadOnly

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.

| Improve this Doc View Source

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 Source

SetValue(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.

  • Improve this Doc
  • View Source