-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
Issue5057.xaml
22 lines (22 loc) · 1.18 KB
/
Issue5057.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?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.Issue5057">
<StackLayout Padding="10">
<Label Text="When both Page.BackgroundImage and Page.BackgroundColor are set, the BackgroundImage takes precedence."/>
<Label Text="If Page.BackgroundImage is set, setting BackgroundColor won't be have any visual effect"/>
<Label Text="Clearing the BackgroundImage by setting it to null, makes Page background displayed with BackgroundColor"/>
<Button Text="Set background color to Red"
Clicked="BtnSetBkgndColorRed_Clicked"
BackgroundColor="White"/>
<Button Text="Set background image"
Clicked="BtnSetBkgndImg_Clicked"
BackgroundColor="White"/>
<Button Text="Set background color to default"
Clicked="BtnSetBkgndColorDefault_Clicked"
BackgroundColor="White"/>
<Button Text="Set background image to null"
Clicked="BtnSetBkgndImgNull_Clicked"
BackgroundColor="White"/>
</StackLayout>
</ContentPage>