Created
June 19, 2018 19:36
-
-
Save Char0394/dcbd1b7aca72fac110bbd0925ae90965 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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:local="clr-namespace:DataTriggersFormsSample" | |
x:Class="DataTriggersFormsSample.MainPage"> | |
<StackLayout VerticalOptions="StartAndExpand" | |
Padding="20,60,20,20"> | |
<Button Text="Click me" | |
BackgroundColor="DarkCyan" | |
TextColor="White"> | |
<Button.Triggers> | |
<EventTrigger Event="Clicked"> | |
<local:ExpandButtonTriggerAction /> | |
</EventTrigger> | |
</Button.Triggers> | |
</Button> | |
</StackLayout> | |
</ContentPage> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment