Intersoft ClientUI Documentation
Blocks Property
See Also  Send Feedback
Intersoft.Client.Documents Namespace > AnchoredBlock Class : Blocks Property






Gets or sets a BlockCollection containing the top-level Block elements that comprise the contents of the element.

Syntax

Visual Basic (Declaration) 
Public Property Blocks As BlockCollection
Visual Basic (Usage)Copy Code
Dim instance As AnchoredBlock
Dim value As BlockCollection
 
instance.Blocks = value
 
value = instance.Blocks
C# 
public BlockCollection Blocks {get; set;}
Delphi 
public read-write property Blocks: BlockCollection; 
JScript 
public function get,set Blocks : BlockCollection
Managed Extensions for C++ 
public: __property BlockCollection* get_Blocks();
public: __property void set_Blocks( 
   BlockCollection* value
);
C++/CLI 
public:
property BlockCollection^ Blocks {
   BlockCollection^ get();
   void set (    BlockCollection^ value);
}

Remarks

As the child of AnchoredBlock, Floater inherits the behavior of AnchoredBlock class. You can specify several properties that are usually available in Block element, such as border and line spacing formatting, Margin, Padding, and TextAlignment. If Margin and Padding properties are not specified, Floater element will automatically use 10 pixel for each property.

XAML Copy Code
<Intersoft:FlowDocument>
    <Intersoft:Paragraph SpacingBefore="20">
        <Intersoft:Floater Width="190" HorizontalAlignment="Left" Padding="0" Margin="20">
            <Intersoft:BlockUIContainer>
                <Image Source="/Assets/Images/screenshot.png" Stretch="None"/>
            </Intersoft:BlockUIContainer>
        </Intersoft:Floater>
        <Intersoft:Bold>
            <Intersoft:Run Text="SINGAPORE, "/>
        </Intersoft:Bold>
        <Intersoft:Run>
            Nov 16 (Reuters) - Gold prices fell as much as 1.1 percent on Wednesday, tracking the euro lower on fears the euro zone 
    debt crisis could spread to France, the bloc's second-largest economy, while Greece and Italy battle to save their economies.
        </Intersoft:Run>
        <Intersoft:LineBreak/>
        <Intersoft:Run>
            People favour gold during economic and political turmoil because of its safe haven allure, although bullion has moved in close correlation with riskier assets recently, as harried investors liquidate gold positions to cover losses elsewhere.
        </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.