Created
June 19, 2018 18:35
-
-
Save Char0394/993804550a152c862b8c2be820f5f465 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
<Label Text="{Binding Name, StringFormat='Good morning {0}'}" | |
HorizontalTextAlignment="Center"> | |
<Label.Triggers> | |
<DataTrigger TargetType="Label" | |
Binding="{Binding Name}" | |
Value=""> | |
<Setter Property="IsVisible" Value="False" /> | |
</DataTrigger> | |
</Label.Triggers> | |
</Label> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment