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

20 строки
753 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.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>