Esta documentación está archivada y no tiene mantenimiento.

AutomationElement.IsScrollPatternAvailableProperty (Campo)

Identifies the property that indicates whether the ScrollPattern control pattern is available on this AutomationElement.

Espacio de nombres: System.Windows.Automation
Ensamblado: UIAutomationClient (en uiautomationclient.dll)

public static readonly AutomationProperty IsScrollPatternAvailableProperty
public static final AutomationProperty IsScrollPatternAvailableProperty
public static final var IsScrollPatternAvailableProperty : AutomationProperty
No aplicable.

This identifier is used by UI Automation client applications. UI Automation providers should use the equivalent identifier in AutomationElementIdentifiers.

Return values of the property are of type Boolean. The default value for the property is false.

The following example ascertains whether a specified control pattern is supported by an AutomationElement.

// TODO  Substitute the appropriate field for IsDockPatternAvailableProperty.
bool isPatternAvailable = (bool)
   autoElement.GetCurrentPropertyValue(AutomationElement.IsDockPatternAvailableProperty);

Microsoft .NET Framework 3.0 es compatible con Windows Vista, Microsoft Windows XP SP2 y Windows Server 2003 SP1.

.NET Framework

Compatible con: 3.0
Mostrar: