Export (0) Print
Expand All

CapStyle Enumeration

Represents values for CapStyleAttribute.

Namespace:  System.Windows.Automation.Text
Assembly:  UIAutomationTypes (in UIAutomationTypes.dll)

[GuidAttribute("4E33C74B-7848-4f1e-B819-A0D866C2EA1F")]
[ComVisibleAttribute(true)]
public enum CapStyle

Member nameDescription
NoneIndicates that there is no capitalization style; uppercase and lowercase letters render normally.
SmallCapIndicates that the capitalization style is small caps; lowercase letters are replaced with uppercase letters of the same approximate height as the font's x-height.
AllCapIndicates that the capitalization style is all caps; all lowercase letters are replaced with uppercase letters.
AllPetiteCapsIndicates that the capitalization style is all petite caps; uppercase and lowercase letters are replaced with uppercase letters slightly smaller than small caps.
PetiteCapsIndicates that the capitalization style is petite caps; lowercase letters are replaced with uppercase letters slightly smaller than small caps.
UnicaseIndicates that the capitalization style is unicase; uppercase and lowercase letters are rendered in a way determined by the type designer. A unicase alphabet is one that does not specify case for its letters.
TitlingIndicates that the capitalization style is title case; uppercase and lowercase letters are rendered with letters specifically designed for titles.
OtherIndicates that the capitalization style is a style not explicitly specified in the CapStyle enumeration.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2014 Microsoft