SelectionPattern 類別

定義

表示控制項,該控制項可作為可選取之子項目集合的容器。Represents a control that acts as a container for a collection of selectable child items. 這個項目的子系支援 SelectionItemPatternThe children of this element support the SelectionItemPattern.

public ref class SelectionPattern : System::Windows::Automation::BasePattern
public class SelectionPattern : System.Windows.Automation.BasePattern
type SelectionPattern = class
    inherit BasePattern
Public Class SelectionPattern
Inherits BasePattern
繼承
SelectionPattern

備註

如需可執行此控制項模式的控制項範例,請參閱 消費者介面自動化用戶端的控制項模式對應See Control Pattern Mapping for UI Automation Clients for examples of controls that may implement this control pattern.

欄位

CanSelectMultipleProperty

識別 CanSelectMultiple 屬性。Identifies the CanSelectMultiple property.

InvalidatedEvent

識別當容器中的選取範圍大幅變更,需要傳送比 InvalidateLimit 常數所允許的更多新增和移除事件時所引發的事件。Identifies the event that is raised when a selection in a container has changed significantly and requires sending more addition and removal events than the InvalidateLimit constant permits.

IsSelectionRequiredProperty

識別 IsSelectionRequired 屬性。Identifies the IsSelectionRequired property.

Pattern

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

SelectionProperty

識別可從容器中取得所選項目的屬性。Identifies the property that gets the selected items in a container.

屬性

Cached

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

Current

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

方法

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)
MemberwiseClone()

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

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於

另請參閱