Question Round Corners

Zexor

Well-known member
Joined
Nov 28, 2008
Messages
520
Programming Experience
3-5
I have this in my XAML

VB.NET:
<Window x:Class="Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Window1" Height="120" Width="500" Background="Transparent"
    AllowsTransparency="True" WindowStyle="None">
    <Grid>
        <Rectangle Fill="CornflowerBlue" Opacity="0.5" Margin="20" Height="25" Width="400"> </Rectangle>
        <Ellipse Fill="Aqua" Opacity=".2" Margin="20" Height="25" Width="400"></Ellipse>       
    </Grid>
</Window>

How can i make the Rectangle to have round corners but not as round as the ellipse?
 
Back
Top