Skip to content

Instantly share code, notes, and snippets.

@TBertuzzi
Created July 28, 2021 00:40
Show Gist options
  • Save TBertuzzi/bccd4ced79276ca025a31c0c194b8bce to your computer and use it in GitHub Desktop.
Save TBertuzzi/bccd4ced79276ca025a31c0c194b8bce to your computer and use it in GitHub Desktop.
EventAggregator
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
Padding="0,60,0,0"
x:Class="XamarinFormsEventAggregator.MainPage">
<StackLayout>
<Frame BackgroundColor="#2196F3" Padding="24" CornerRadius="0">
<Label Text="EventAggregator" HorizontalTextAlignment="Center" TextColor="White" FontSize="36"/>
</Frame>
<Label Text="A Soma das duas telas vai ser igual?" FontSize="Title" Padding="30,10,30,10"/>
<Label Text="{Binding Texto}" FontSize="16" Padding="30,0,30,0"/>
<Button Text="Vamos somar" Command="{Binding SomarViewCommand}"></Button>
</StackLayout>
</ContentPage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment