I'm doing an UWP project and I wan't to display different type of informations depending on how many Items I have selected in a listview.
I wan't to display a different message in my TextBlock in these cases : - No item selected - One item selected - Number of items selected
I found in WPF that there is something called : DataTrigger used like this :
<Style.Triggers>
<DataTrigger Binding="{Binding MyList.Count}" Value="0">
<Setter Property="Visibility" Value="Visible" />
</DataTrigger>
</Style.Triggers>
What is the equivalent syntaxe in UWP using <VisualState.StateTriggers> ?
Thanks