Ooui-tws-port/Samples/DisplayAlertPage.xaml

28 lines
1.3 KiB
Plaintext
Raw Normal View History

2017-11-19 18:49:17 +00:00
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:ooui="clr-namespace:Ooui.Forms;assembly=Ooui.Forms"
2017-11-19 18:49:17 +00:00
x:Class="Samples.DisplayAlertPage">
<ContentPage.Content>
<StackLayout>
2017-12-09 22:43:48 +00:00
<Label Text="Welcome to DisplayAlert Sample!" FontSize="32" FontAttributes="Bold" Margin="10,10,10,50"
HorizontalOptions="Center" />
<ooui:LinkLabel Text="Link to Xamarin.Forms docs"
HRef="https://developer.xamarin.com/guides/xamarin-forms/" />
<ooui:LinkView
HRef="https://developer.xamarin.com/guides/xamarin-forms/">
<BoxView Color="Gray" HeightRequest="16" />
</ooui:LinkView>
2017-11-26 17:28:26 +00:00
<ActivityIndicator x:Name="activity" />
2017-11-26 17:43:52 +00:00
<ProgressBar x:Name="progress" />
2017-11-26 18:32:55 +00:00
<DatePicker x:Name="datePicker" />
<StackLayout Orientation="Horizontal">
<Switch x:Name="switch1" IsToggled="true" />
<Switch x:Name="switch2" IsToggled="false" />
</StackLayout>
2017-11-26 18:32:55 +00:00
<Button Text="Tap to Display Alert"
Clicked="OnButtonClicked" />
</StackLayout>
</ContentPage.Content>
</ContentPage>