title: How to dynamically change the colour of label? Xamarin
body: <p>I got this code below but I can't figure out how to make the selected label be turned into blue background colour and white text instead of what it has in unselected mode. There can only be 1 journey selected at time, and the one that is selected needs to be modified. I figured I could use datatriggers or behaviours. I can figure out how to change the button in the command, but how would I change the other buttons? that gets unselected into gray? </p>
  
  <pre><code>&lt;CollectionView Grid.Row="1" Grid.Column="0" ItemsSource="{Binding JourneyItems}" SelectionMode="Single"  ItemsLayout="{x:Static ListItemsLayout.HorizontalList}"&gt;
      &lt;CollectionView.ItemTemplate&gt;
          &lt;DataTemplate&gt;
              &lt;StackLayout Orientation="Horizontal" &gt;
                  &lt;StackLayout Margin="10,0,10,0" BackgroundColor="LightGray"  VerticalOptions="Fill"  Orientation="Horizontal" &gt;
                      &lt;Label Text="{Binding Name}"  TextColor="{StaticResource ThemeBkColor}" VerticalTextAlignment="Center" VerticalOptions="Center" /&gt;
                  &lt;/StackLayout&gt;
  
                  &lt;StackLayout.GestureRecognizers&gt;
                      &lt;TapGestureRecognizer Command="{Binding Path=ViewModel.SwitchJourneyCommand, Source={x:Reference ThisJourneysPage}}"
                          CommandParameter = "{Binding .}" NumberOfTapsRequired="1"/&gt;
                  &lt;/StackLayout.GestureRecognizers&gt;
              &lt;/StackLayout&gt;
          &lt;/DataTemplate&gt;
      &lt;/CollectionView.ItemTemplate&gt;
  &lt;/CollectionView&gt;
  </code></pre>