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.

CapStyle Enumeration

 

Represents values for CapStyleAttribute.

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

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

Member nameDescription
AllCap

Indicates that the capitalization style is all caps; all lowercase letters are replaced with uppercase letters.

AllPetiteCaps

Indicates that the capitalization style is all petite caps; uppercase and lowercase letters are replaced with uppercase letters slightly smaller than small caps.

None

Indicates that there is no capitalization style; uppercase and lowercase letters render normally.

Other

Indicates that the capitalization style is a style not explicitly specified in the CapStyle enumeration.

PetiteCaps

Indicates that the capitalization style is petite caps; lowercase letters are replaced with uppercase letters slightly smaller than small caps.

SmallCap

Indicates 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.

Titling

Indicates that the capitalization style is title case; uppercase and lowercase letters are rendered with letters specifically designed for titles.

Unicase

Indicates 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.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft