Border with cornerradius not shown [CANNOT REPRODUCE]
Posted: Fri Mar 11, 2016 4:29 am
If I specify CornerRadius for a Border, the border is not shown. With out cornerradius the border is shown. Se attached file.
Code: Select all
<Page
x:Class="Application2.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Application2"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
<Border BorderThickness="3" BorderBrush="Red" Background="Yellow" Width="200" Height="100" CornerRadius="20">
<TextBlock Text="TestBorder" FontFamily="16" HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
</Page>