Show / Hide Table of Contents

Interface IMultipleViewProvider

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: OpenSilver.dll
Syntax
public interface IMultipleViewProvider

Properties

| Improve this Doc View Source

CurrentView

Gets the current control-specific view.

Declaration
int CurrentView { get; }
Property Value
Type Description
System.Int32

The value for the current view of the UI automation element.

Methods

| Improve this Doc View Source

GetSupportedViews()

Retrieves a collection of control-specific view identifiers.

Declaration
int[] GetSupportedViews()
Returns
Type Description
System.Int32[]

A collection of values that identifies the views available for a UI automation element.

| Improve this Doc View Source

GetViewName(Int32)

Retrieves the name of a control-specific view.

Declaration
string GetViewName(int viewId)
Parameters
Type Name Description
System.Int32 viewId

The view identifier.

Returns
Type Description
System.String

A localized name for the view.

| Improve this Doc View Source

SetCurrentView(Int32)

Sets the current control-specific view.

Declaration
void SetCurrentView(int viewId)
Parameters
Type Name Description
System.Int32 viewId

A view identifier.

  • Improve this Doc
  • View Source