maui-linux/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issu.../Bugzilla60787.xaml

21 строка
761 B
XML

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Xamarin.Forms.Controls.Issues.Bugzilla60787">
<ContentPage.Content>
<StackLayout>
<Frame x:Name="frmNoChange" BackgroundColor="CornflowerBlue" CornerRadius="10">
<Label Text="This one doesn't change colour and keeps its corner radius" />
</Frame>
<Frame x:Name="frmDoesChange" BackgroundColor="Red" CornerRadius="10">
<Label Text="This one changes colour and loses the corner radius" />
</Frame>
<Button x:Name="btnChangeColour" Text="Change colour" />
</StackLayout>
</ContentPage.Content>
</ContentPage>