Intersoft.Client.Documents Namespace : Bold Class |
Bold element automatically set its content to render with a bold font weight. Instead of using Span with FontWeight property specified, you can simply use Bold element. Since Bold is inherited from Span, it can also contain multiple Inline elements. Bold is used in a similar manner to the <STRONG> tag in HTML.
XAML |
Copy Code
|
---|---|
<Intersoft:FlowDocument> <Intersoft:Paragraph> <Intersoft:Bold> <Intersoft:Run> Hello World! </Intersoft:Run> </Intersoft:Bold> </Intersoft:Paragraph> </Intersoft:FlowDocument> |
System.Object
System.Windows.DependencyObject
Intersoft.Client.Documents.TextElement
Intersoft.Client.Documents.Inline
Intersoft.Client.Documents.Span
Intersoft.Client.Documents.Bold
Target Platforms: 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