how to set the rounded inside corners of a grid in Silverlight 4

Posted by Phani Kumar PV on Stack Overflow See other posts from Stack Overflow or by Phani Kumar PV
Published on 2010-04-25T13:34:43Z Indexed on 2010/04/25 13:43 UTC
Read the original article Hit count: 440

I need to set the rounded corners inside the grid control using silverlight 4. wehn i tried to do something like this

 <Border BorderThickness="2" BorderBrush="#FF3EA9F5" Grid.Row="1" CornerRadius="5,5,0,0" Height="10" VerticalAlignment="Bottom">
                <Grid  x:Name="Phani1" Width="auto"> </Grid>
            </Border>

i am able to see rounded corners outside the gird. but i want to grid to appear asa rectangel from outside border. but inside corners of the grid should appear as rounded.

Please let me knowhow to do that if anyone had any idea on that.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about silverlight-4.0

Related posts about Silverlight