MultipleViewPattern 類別

定義

表示可為同一組資訊或子控制項提供多重表示,並在各表示之間切換的控制項。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
繼承
MultipleViewPattern

備註

可顯示多個視圖的控制項範例包括清單視圖 (可以將其內容顯示為縮圖。磚、圖示或詳細資料) 、Microsoft Excel 圖表 (圓形圖、線條、橫條圖、具有公式) 的儲存格值、Microsoft Word 檔 (一般、Web 版面配置、列印配置、閱讀版面配置、大綱) 、Microsoft Outlook 行事曆 (年、月、周、日) 和 Microsoft Windows Media Player 的外觀。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.

欄位

CurrentViewProperty

識別 CurrentView 屬性。Identifies the CurrentView property.

Pattern

識別 MultipleViewPattern 控制項模式。Identifies the MultipleViewPattern control pattern.

SupportedViewsProperty

識別取得控制項特定檢視集合的屬性。Identifies the property that gets the control-specific collection of views.

屬性

Cached

取得這個的快取消費者介面自動化屬性值 MultipleViewPatternGets the cached UI Automation property values for this MultipleViewPattern.

Current

取得這個的目前消費者介面自動化屬性值 MultipleViewPatternGets the current UI Automation property values for this MultipleViewPattern.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
GetViewName(Int32)

擷取控制項特定檢視的名稱。Retrieves the name of a control-specific view.

MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
SetCurrentView(Int32)

設定目前的控制項專屬檢視。Sets the current control-specific view.

ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於

另請參閱