AutomationElement.IsSelectionItemPatternAvailableProperty Veld

Definitie

Identificeert de eigenschap die aangeeft of het SelectionItemPattern besturingselementpatroon beschikbaar is op dit AutomationElement.

public: static initonly System::Windows::Automation::AutomationProperty ^ IsSelectionItemPatternAvailableProperty;
public static readonly System.Windows.Automation.AutomationProperty IsSelectionItemPatternAvailableProperty;
 staticval mutable IsSelectionItemPatternAvailableProperty : System.Windows.Automation.AutomationProperty
Public Shared ReadOnly IsSelectionItemPatternAvailableProperty As AutomationProperty 

Waarde van veld

Voorbeelden

In het volgende voorbeeld wordt vastgesteld of een opgegeven besturingspatroon wordt ondersteund door een AutomationElement.

// TODO  Substitute the appropriate field for IsDockPatternAvailableProperty.
bool isPatternAvailable = (bool)
   autoElement.GetCurrentPropertyValue(AutomationElement.IsDockPatternAvailableProperty);
' TODO  Substitute the appropriate field for IsDockPatternAvailableProperty.
Dim isPatternAvailable As Boolean = _
    CBool(autoElement.GetCurrentPropertyValue(AutomationElement.IsDockPatternAvailableProperty))

Opmerkingen

Deze id wordt gebruikt door UI Automation clienttoepassingen. UI Automation providers moeten de equivalente id in AutomationElementIdentifiers gebruiken.

Retourwaarden van de eigenschap zijn van het type Boolean. De standaardwaarde voor de eigenschap is false.

Van toepassing op

Zie ook