Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IUIAutomationStylesPattern interface

Enables Microsoft UI Automation clients to retrieve the visual styles associated with an element in a document.

When to implement

UI Automation client applications do not implement IUIAutomationStylesPattern.

Members

The IUIAutomationStylesPattern interface inherits from the IUnknown interface. IUIAutomationStylesPattern also has these types of members:

Methods

The IUIAutomationStylesPattern interface has these methods.

MethodDescription
GetCachedExtendedPropertiesArray

Retrieves the cached extended properties for an element in a document.

GetCurrentExtendedPropertiesArray

Retrieves the extended properties for an element in a document.

 

Properties

The IUIAutomationStylesPattern interface has these properties.

PropertyAccess typeDescription

CachedExtendedProperties

Read-only

Retrieves a cached localized string that contains the list of extended properties for an element in a document.

CachedFillColor

Read-only

Retrieves the cached fill color of an element in a document.

CachedFillPatternColor

Read-only

Retrieves the cached color of the pattern used to fill an element in a document.

CachedShape

Read-only

Retrieves the cached shape of an element in a document.

CachedStyleId

Read-only

Retrieves the cached identifier of the visual style associated with an element in a document.

CachedStyleName

Read-only

Retrieves the cached name of the visual style associated with an element in a document.

CurrentExtendedProperties

Read-only

Retrieves a localized string that contains the list of extended properties for an element in a document.

CurrentFillColor

Read-only

Retrieves the fill color of an element in a document.

CurrentFillPatternColor

Read-only

Retrieves the color of the pattern used to fill an element in a document.

CurrentShape

Read-only

Retrieves the shape of an element in a document.

CurrentStyleId

Read-only

Retrieves the identifier of the visual style associated with an element in a document.

CurrentStyleName

Read-only

Retrieves the name of the visual style associated with an element in a document.

 

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

UIAutomationClient.h (include UIAutomation.h)

IDL

UIAutomationClient.idl

DLL

UIAutomationCore.dll

IID

IID_IUIAutomationStylesPattern is defined as 85b5f0a2-bd79-484a-ad2b-388c9838d5fb

See also

Control Pattern Interfaces for Clients

 

 

Show:
© 2017 Microsoft