Intersoft.Client.Documents Namespace > TextElement Class : Style Property |
Public Property Style As String
Dim instance As TextElement Dim value As String instance.Style = value value = instance.Style
public string Style {get; set;}
You can specify predefined styles that can be applied to all elements in FlowDocument, using FlowDocumentStyle collection. In FlowDocumentStyle, you can specify the fundamental element formatting, such as background, foreground, font-related properties, and border. Each FlowDocumentStyle should have a name, which will be referred from the element.
XAML |
Copy Code
|
---|---|
<Intersoft:FlowDocument> <Intersoft:FlowDocument.Styles> <Intersoft:FlowDocumentStyle Name="HeadingStyle" Foreground="#FF632423" BorderBrush="#FF632423" BorderThickness="0 0 0 2" FontSize="30"/> <Intersoft:FlowDocumentStyle Name="ParagraphStyle" Foreground="Gray"/> </Intersoft:FlowDocument.Styles> <Intersoft:Paragraph Style="HeadingStyle" SpacingBefore="30"> <Intersoft:Run> BUNDLED APPS </Intersoft:Run> </Intersoft:Paragraph> <Intersoft:Paragraph SpacingBefore="30" Style="ParagraphStyle"> <Intersoft:Run> In addition to the tweaks in the OS, MIUI's also fiddled with some of the bundled apps as well as throwing in some handy tools. Let's look at the bundled apps first: the dialing pad does smart dialing and also supports quick dialing for your favorite buddies; whereas in texting the conversations are displayed in threads with customizable themes. For those who care, another special feature lies in the calendar app where you can also see the lunar calendar. Hey, it is a Chinese phone, after all. </Intersoft:Run> </Intersoft:Paragraph> </Intersoft:FlowDocument> |
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