Style.StyleName Enum

Definition

Contains the list of available styles for the Style class.

public: enum class Style::StyleName
public enum Style.StyleName
type Style.StyleName = 
Public Enum Style.StyleName
Inheritance
Style.StyleName

Fields

BackgroundColor 15

Color of the background.

BorderColor 0

Color of the border if not set for any particular border. In the event two borders overlap and Zorder cannot determine precedence, the lower color number should be used for the overlapping region.

BorderColorBottom 4

Bottom border color.

BorderColorLeft 2

Left border color.

BorderColorRight 3

Right border color.

BorderColorTop 1

Top border color.

BorderStyle 5

Style of the border if not set for any particular border. In the event two borders overlap and Z-order cannot determine precedence, the style closest to the end of the enumeration list is used for the overlapping region.

BorderStyleBottom 9

Bottom border style.

BorderStyleLeft 7

Left border style.

BorderStyleRight 8

Right border style.

BorderStyleTop 6

Top border style.

BorderWidth 10

Width of the border if not set for any particular border. Borders are centered on the edge of the object, if possible. In the event two borders overlap and Z-order cannot determine precedence, the wider border is used for the overlapping region.

BorderWidthBottom 14

Bottom border width.

BorderWidthLeft 12

Left border width.

BorderWidthRight 13

Right border width.

BorderWidthTop 11

Top border width.

Calendar 34

Indicates the calendar to use for formatting dates. Must be compatible in .NET Framework with the Language setting. Valid values:Gregorian | GregorianArabic | GregorianMiddleEastFrench | GregorianTransliteratedEnglish | GregorianTransliteratedFrench | GregorianUSEnglish | Hebrew | Hijri | Japanese | Korea | Taiwan | ThaiBuddhist.

Color 24

The foreground color.

Direction 30

Indicates whether text is written left-to-right or right-to-left and whether matrixes grow to the right (headers on the left) or left (headers on the right). Valid values: LTR | RTL.

FontFamily 17

Name of the font family.

FontSize 18

Size of the font.

FontStyle 16

Font style: Normal | Italic

FontWeight 19

Thickness of the font.

Format 20

.NET Framework formatting string.

Language 32

The primary language of the text.

LineHeight 29

Height of a line of text.

NumeralLanguage 35

The digit format to use as described by its primary language. Any language is legal.

NumeralVariant 36

The variant of the digit format to use. Currently defined values are:

PaddingBottom 28

Padding below the object.

PaddingLeft 25

Padding to the left of the object.

PaddingRight 26

Padding to the right of the object.

PaddingTop 27

Padding above the object.

TextAlign 22

Horizontal alignment of the text: Left | Center | Right | Justify | General.

TextDecoration 21

Text formatting: Underline | Overline | LineThrough | None.

UnicodeBiDi 33

Indicates the level of embedding with respect to the bidirectional algorithm. Valid values: Normal | Embed | BiDi-Override.

VerticalAlign 23

Vertical alignment of the text: Top | Middle | Bottom.

WritingMode 31

Whether the text is written lr-tb or tb-rl.

Applies to