Intersoft ClientUI Documentation
CornerRadius Property (Block)



Gets or sets the corner radius applied to the element's border.
Syntax
Public Property CornerRadius As CornerRadius
Dim instance As Block
Dim value As CornerRadius
 
instance.CornerRadius = value
 
value = instance.CornerRadius
public CornerRadius CornerRadius {get; set;}
public:
property CornerRadius CornerRadius {
   CornerRadius get();
   void set (    CornerRadius value);
}
Remarks

You can set the element to use round corner border. Simply set CornerRadius property to a double value.

XAML
Copy Code
<Intersoft:FlowDocument>
    <Intersoft:Paragraph Borders="1,DashLargeGap,#FFDBA621" Background="#FFFCF2C9" 
                CornerRadius="6" Foreground="#FF483203" FontSize="30" Padding="5">
        <Intersoft:Run>
            Gold Price Down 1 PCT on Euro Zone Debt Fears
        </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

Block Class
Block Members

Send Feedback