Exposes methods and properties to support access by a Microsoft UI Automation client to controls that have an intrinsic value that does not span a range and that can be represented as a string. Implement this interface in order to support the capabilities that an automation client requests with a GetPattern call and PatternInterface.Value.
The IValueProvider interface has these types of members:
The IValueProvider interface has these methods. It also inherits methods from the Object class.
|SetValue||Sets the value of a control.|
The IValueProvider interface has these properties.
|Read-only||Gets a value that indicates whether the value of a control is read-only.|
|Read-only||Gets the value of the control.|
The value string can be editable, depending on the control and its settings. This pattern has guidelines and conventions that aren't fully documented here. For more info on what this pattern is for, see Value Control Pattern.
IValueProvider is implemented by the existing Windows Runtime class ComboBoxAutomationPeer.
Minimum supported client
Minimum supported server
|Windows Server 2012|
Minimum supported phone
|Windows Phone 8.1 [Windows Runtime apps only]|
- IValueProvider (COM interface)
- Custom automation peers
- Value Control Pattern