How to highlight dates in a TextBlock MVVM Light
问题 I want to highlight the foreground or background color of the dates based on current date. How can I do it in my ViewModel? What are the codes I can use to highlight the date? Here are my codes for the whole project: xaml: <Grid Margin="10,102,10,298"> <GridView ItemsSource="{Binding Calendar.DateCollection}"> <GridView.ItemTemplate> <DataTemplate> <Grid x:Name="dateGrid" Background="AntiqueWhite" Width="50" Height="30"> <TextBlock x:Name="txtDate" Text="{Binding}" Foreground="Black"