Inline.FontStyle Property
Gets or sets the font style for the content in this element.
Namespace: System.Windows.Documents
Assembly: System.Windows (in System.Windows.dll)
Syntax
'Declaration
Public Property FontStyle As FontStyle
Get
Set
'Usage
Dim instance As Inline
Dim value As FontStyle
value = instance.FontStyle
instance.FontStyle = value
public FontStyle FontStyle { get; set; }
<inline FontStyle="fontStylesValue"/>
XAML Values
- fontStylesValue
A FontStyles property name, such as Normal or Italic.
Property Value
Type: System.Windows.FontStyle
One of the FontStyles property values, specifying the font style. The default is FontStyles.Normal.
Remarks
Dependency property identifier field: FontStyleProperty
Version Information
Silverlight
Supported in: 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.0
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
See Also
Reference
System.Windows.Documents Namespace