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


IMultipleViewProvider Interface

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

Exposes methods and properties to support UI automation client access to controls that provide, and are able to switch between, multiple representations of the same set of information or child controls.

Namespace:  System.Windows.Automation.Provider
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Interface IMultipleViewProvider
public interface IMultipleViewProvider

The IMultipleViewProvider type exposes the following members.

Properties

  Name Description
Public propertySupported by Silverlight for Windows Phone CurrentView Gets the current control-specific view.

Top

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone GetSupportedViews Retrieves a collection of control-specific view identifiers.
Public methodSupported by Silverlight for Windows Phone GetViewName Retrieves the name of a control-specific view.
Public methodSupported by Silverlight for Windows Phone SetCurrentView Sets the current control-specific view.

Top

Remarks

This interface is implemented on a UI automation client that must support the MultipleView control pattern.

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.