Taal

AutomationElement.IsExpandCollapsePatternAvailableProperty Veld

Definitie

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

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

Waarde van veld

Voorbeelden

In het volgende voorbeeld wordt een waarde opgehaald die aangeeft 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