Поделиться через


IValueProvider Interface

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Interface IValueProvider
public interface IValueProvider

The IValueProvider type exposes the following members.

Properties

  Name Description
Public propertySupported by Silverlight for Windows Phone IsReadOnly Gets a value that indicates whether the value of a control is read-only.
Public propertySupported by Silverlight for Windows Phone Value Gets the value of the control.

Top

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone SetValue Sets the value of a control.

Top

Remarks

The value of the control might be editable, depending on the control and on its settings.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.