IMultipleViewProvider interface

Applies to Windows and Windows Phone

Exposes methods and properties to support Microsoft 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. Implement this interface in order to support the capabilities that an automation client requests with a GetPattern call and PatternInterface.MultipleView.

Syntax


public interface IMultipleViewProvider

Attributes

[Version(0x06020000)]
[WebHostHidden()]

Members

The IMultipleViewProvider interface has these types of members:

Methods

The IMultipleViewProvider interface has these methods. It also inherits methods from the Object class.

MethodDescription
GetSupportedViews Retrieves a collection of control-specific view identifiers.
GetViewName Retrieves the name of a control-specific view.
SetCurrentView Sets the current control-specific view.

 

Properties

The IMultipleViewProvider interface has these properties.

PropertyAccess typeDescription

CurrentView

Read-onlyGets the current control-specific view.

 

Remarks

This pattern has guidelines and conventions that aren't fully documented here. For more info on what this pattern is for, see MultipleView Control Pattern.

IMultipleViewProvider isn't implemented by any existing Windows Runtime automation peers. Notably, IMultipleViewProvider doesn't exist for SemanticZoom. The interface exists so that custom control authors can support the automation pattern in a custom control, and implement their automation support using the same Windows Runtime managed or C++ APIs as they use to define control logic or other automation support.

Use MultipleViewPatternIdentifiers if you want to reference the IGridProvider pattern properties from control code when you fire automation events or call RaisePropertyChangedEvent.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Automation.Provider
Windows::UI::Xaml::Automation::Provider [C++]

Metadata

Windows.winmd

See also

MultipleViewPatternIdentifiers
IMultipleViewProvider (COM interface)
Custom automation peers
MultipleView Control Pattern

 

 

Show:
© 2014 Microsoft