TextPatternIdentifiers.BackgroundColorAttribute Field


Identifies the BackgroundColor attribute of a text range.

public: static initonly System::Windows::Automation::AutomationTextAttribute ^ BackgroundColorAttribute;
public static readonly System.Windows.Automation.AutomationTextAttribute BackgroundColorAttribute;
 staticval mutable BackgroundColorAttribute : System.Windows.Automation.AutomationTextAttribute
Public Shared ReadOnly BackgroundColorAttribute As AutomationTextAttribute 

Field Value



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

Values for this attribute are of type Int32.

The default value is a null reference (Nothing in Visual Basic).

Applies to

See also