Export (0) Print
Expand All
Key
M11
M12
M21
M22
Tag
Uri
X1
X2
Y1
Y2
Expand Minimize

FontStyle

Silverlight

Gets or sets the font style for the content in this element.

<object FontStyle="FontStyle"  .../>
value = object.FontStyle
object.FontStyle = value

Type: FontStyle Enumeration

One of the enumeration values that specifies the desired font style.

This property is read/write. The default value is Normal.

The characters in an italic font are truly slanted and appear as they were designed. They are not simulated by performing a shear transformation on the characters from a normal font.

NoteNote:

The FontStyle property value may not be the font style used during rendering because of font fallback. For example, if you specify the font style Italic, but Normal is the only font style available, the value of FontStyle is still Italic.

The "Applies To" section of this topic lists LineBreak, because it does exist in the object model and you can get and set it. However, all LineBreak properties are ignored for rendering purposes.

LineBreak

Run

PasswordBox (Silverlight 2)

TextBlock

TextBox (Silverlight 2)

Community Additions

ADD
Show:
© 2014 Microsoft