Intersoft ClientUI Documentation
Blocks Property (AnchoredBlock)



Gets or sets a BlockCollection containing the top-level Block elements that comprise the contents of the element.
Syntax
Public Property Blocks As BlockCollection
Dim instance As AnchoredBlock
Dim value As BlockCollection
 
instance.Blocks = value
 
value = instance.Blocks
public BlockCollection Blocks {get; set;}
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 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

See Also

Reference

AnchoredBlock Class
AnchoredBlock Members

Send Feedback