ExpandCollapsePattern.Cached Property

 

Gets the cached UI Automation property values for this ExpandCollapsePattern.

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

Public ReadOnly Property Cached As ExpandCollapsePattern.ExpandCollapsePatternInformation

Property Value

Type: System.Windows.Automation.ExpandCollapsePattern.ExpandCollapsePatternInformation

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

Exception Condition
InvalidOperationException

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 SelectionPattern.SelectionPatternInformation.

.NET Framework
Available since 3.0

ExpandCollapsePattern Class
System.Windows.Automation Namespace
InvokePattern and ExpandCollapsePattern Menu Item Sample

Return to top
Show: