TogglePattern.Cached Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the cached UI Automation property values for this TogglePattern.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationClient (in UIAutomationClient.dll)

public TogglePattern.TogglePatternInformation Cached { get; }

Property Value

Type: System.Windows.Automation.TogglePattern.TogglePatternInformation

A structure containing the cached UI Automation property values for the control pattern.

Exception Condition

The requested property is not in the cache.

Cached property values must have been previously requested using a CacheRequest. Use Current to get the current value of a property.

For information on the properties available and their use, see TogglePattern.TogglePatternInformation.

.NET Framework
Available since 3.0
Return to top