Intersoft ClientUI Documentation
FlowDocumentStyle Class
Members  See Also  Send Feedback
Intersoft.Client.Documents Namespace : FlowDocumentStyle Class






Object Model

FlowDocumentStyle Class

Syntax

Visual Basic (Declaration) 
Public Class FlowDocumentStyle 
   Inherits System.Windows.DependencyObject
Visual Basic (Usage)Copy Code
Dim instance As FlowDocumentStyle
C# 
public class FlowDocumentStyle : System.Windows.DependencyObject 
Delphi 
public class FlowDocumentStyle = class(System.Windows.DependencyObject)
JScript 
public class FlowDocumentStyle extends System.Windows.DependencyObject
Managed Extensions for C++ 
public __gc class FlowDocumentStyle : public System.Windows.DependencyObject 
C++/CLI 
public ref class FlowDocumentStyle : public System.Windows.DependencyObject 

Remarks

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>

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      Intersoft.Client.Documents.FlowDocumentStyle

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.