XAML Editor
<ContentView xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"> <Grid> <Grid.RowDefinitions> <RowDefinition Height="*" /> <RowDefinition Height="*" /> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition Width="*" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <StackLayout Grid.Row="0" Grid.Column="0"> <Label Text="Top Left" /> <Entry Placeholder="I'm ready for some text" /> <Button Text="I'm a button, but I don't do anything" /> </StackLayout> <Label Text="Top Right" Grid.Row="0" Grid.Column="1" TextColor="White" BackgroundColor="#c5000b" /> <Label Text="Bottom Left" Grid.Row="1" Grid.Column="0" TextColor="Black" BackgroundColor="#ffd320" /> <Label Text="Bottom Right" Grid.Row="1" Grid.Column="1" TextColor="White" BackgroundColor="#008000" /> </Grid> </ContentView>
Top Left
I'm a button, but I don't do anything
Top Right
Bottom Left
Bottom Right
×
Alert @ 11/5/24 12:00:00 AM
This is a test of the dialog. Is it working?
NO
YES
×
Alert Response
You selected value: False
OK