Skip to content

Instantly share code, notes, and snippets.

@joshayoung
Created July 19, 2021 20:45
Show Gist options
  • Save joshayoung/6ed54407d101e84dbc62c3cc4cb37f04 to your computer and use it in GitHub Desktop.
Save joshayoung/6ed54407d101e84dbc62c3cc4cb37f04 to your computer and use it in GitHub Desktop.
<Entry Placeholder="Test Value">
<Entry.Triggers>
<Trigger TargetType="Entry" Property="Text" Value="Change When This Value">
<!-- The 'Entry' field will get these values when the text in the Entry matches the 'Value' above -->
<Setter Property="BackgroundColor" Value="Tomato" />
<Setter Property="Scale" Value="2" />
<Setter Property="TextColor" Value="White" />
</Trigger>
</Entry.Triggers>
</Entry>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment