Ooui-tws-port/Samples/DisplayAlertPage.xaml

28 lines
1.3 KiB
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"
xmlns:ooui="clr-namespace:Ooui.Forms;assembly=Ooui.Forms"
x:Class="Samples.DisplayAlertPage">
<ContentPage.Content>
<StackLayout>
<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>
<ActivityIndicator x:Name="activity" />
<ProgressBar x:Name="progress" />
<DatePicker x:Name="datePicker" />
<StackLayout Orientation="Horizontal">
<Switch x:Name="switch1" IsToggled="true" />
<Switch x:Name="switch2" IsToggled="false" />
</StackLayout>
<Button Text="Tap to Display Alert"
Clicked="OnButtonClicked" />
</StackLayout>
</ContentPage.Content>
</ContentPage>