Intersoft ClientUI Documentation
Name Property
See Also  Send Feedback
Intersoft.Client.Documents Namespace > FlowDocumentStyle Class : Name Property






Gets or sets the style name that will be used as reference in the element.

Syntax

Visual Basic (Declaration) 
Public Property Name As String
Visual Basic (Usage)Copy Code
Dim instance As FlowDocumentStyle
Dim value As String
 
instance.Name = value
 
value = instance.Name
C# 
public string Name {get; set;}
Delphi 
public read-write property Name: String; 
JScript 
public function get,set Name : String
Managed Extensions for C++ 
public: __property string* get_Name();
public: __property void set_Name( 
   string* value
);
C++/CLI 
public:
property String^ Name {
   String^ get();
   void set (    String^ value);
}

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>

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.