Browse Source

update example to show intended usage.

pull/4081/head
Dan Walmsley 6 years ago
parent
commit
25b005ec96
  1. 12
      samples/ControlCatalog/Pages/BorderPage.xaml

12
samples/ControlCatalog/Pages/BorderPage.xaml

@ -29,13 +29,13 @@
Padding="16">
<TextBlock>Rounded Corners</TextBlock>
</Border>
<Border BorderBrush="{DynamicResource ThemeAccentBrush2}"
BorderThickness="4"
CornerRadius="8" ClipToBounds="True">
<Border Background="Red" Padding="16">
<TextBlock>Clipped Rounded Corners</TextBlock>
</Border>
<Border BorderBrush="{DynamicResource ThemeAccentBrush2}" Width="100" Height="100"
BorderThickness="0"
Background="White"
CornerRadius="100" ClipToBounds="True">
<Image Source="/Assets/maple-leaf-888807_640.jpg" Stretch="UniformToFill" />
</Border>
<TextBlock Text="Border with Clipping" HorizontalAlignment="Center" />
</StackPanel>
</StackPanel>
</UserControl>

Loading…
Cancel
Save