編輯

共用方式為


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

CurrentViewProperty

Identifies the CurrentView property.

Pattern

Identifies the MultipleViewPattern control pattern.

SupportedViewsProperty

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

Properties

Cached

Gets the cached UI Automation property values for this MultipleViewPattern.

Current

Gets the current UI Automation property values for this MultipleViewPattern.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetViewName(Int32)

Retrieves the name of a control-specific view.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetCurrentView(Int32)

Sets the current control-specific view.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also