TextPattern::UnderlineStyleAttribute Field
.NET Framework (current version)
Identifies the UnderlineStyle (TextDecorationLineStyle) attribute of a text range.
Assembly: UIAutomationClient (in UIAutomationClient.dll)
Field Value
Type: System.Windows.Automation::AutomationTextAttribute^This identifier is used by UI Automation client applications. UI Automation providers should use the equivalent field in TextPatternIdentifiers.
UI Automation clients get the value of the attribute by calling GetAttributeValue.
Values for this attribute are of type TextDecorationLineStyle. The default value is None.
The following example shows how to obtain an attribute value for a range of text in Microsoft Notepad.
Note |
|---|
Microsoft Notepad is used as the text provider for example purposes only. Microsoft Notepad is not guaranteed to support the attribute value being requested. |
.NET Framework
Available since 3.0
Available since 3.0
Show:
