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 SourceCurrentView
Gets the current control-specific view.
Declaration
int CurrentView { get; }
Property Value
Type | Description |
---|---|
System. |
The value for the current view of the UI automation element. |
Methods
| Improve this Doc View SourceGetSupportedViews()
Retrieves a collection of control-specific view identifiers.
Declaration
int[] GetSupportedViews()
Returns
Type | Description |
---|---|
System. |
A collection of values that identifies the views available for a UI automation element. |
GetViewName(Int32)
Retrieves the name of a control-specific view.
Declaration
string GetViewName(int viewId)
Parameters
Type | Name | Description |
---|---|---|
System. |
viewId | The view identifier. |
Returns
Type | Description |
---|---|
System. |
A localized name for the view. |
SetCurrentView(Int32)
Sets the current control-specific view.
Declaration
void SetCurrentView(int viewId)
Parameters
Type | Name | Description |
---|---|---|
System. |
viewId | A view identifier. |