Chỉnh sửa

MultipleViewPattern Class

Definition

Represents controls that provide, and are able to switch between, multiple representations of the same set of information or child controls.

public ref class MultipleViewPattern : System::Windows::Automation::BasePattern
public class MultipleViewPattern : System.Windows.Automation.BasePattern
type MultipleViewPattern = class
    inherit BasePattern
Public Class MultipleViewPattern
Inherits BasePattern
Inheritance
MultipleViewPattern

Remarks

Examples of controls that can present multiple views include the list view (which can show its contents as thumbnails, tiles, icons, or details), Microsoft Excel charts (pie, line, bar, cell value with a formula), Microsoft Word documents (normal, Web layout, print layout, reading layout, outline), Microsoft Outlook calendar (year, month, week, day) and Microsoft Windows Media Player skins. The supported views are determined by the control developer and are specific to each control.

Fields

Name Description
CurrentViewProperty

Identifies the CurrentView property.

Pattern

Identifies the MultipleViewPattern control pattern.

SupportedViewsProperty

Identifies the property that gets the control-specific collection of views.

Properties

Name Description
Cached

Gets the cached UI Automation property values for this MultipleViewPattern.

Current

Gets the current UI Automation property values for this MultipleViewPattern.

Methods

Name Description
GetViewName(Int32)

Retrieves the name of a control-specific view.

SetCurrentView(Int32)

Sets the current control-specific view.

Applies to

See also