title: How to change Listview default text color?
body: <p>How i could change the default text color of this <code>ListView</code>? default is black, i couldnt find a <code>&quot;text color&quot;</code> option under the properties window (visual studio).</p>
  <pre><code>   &lt;ListView
          Name=&quot;LV&quot;
          Grid.Row=&quot;2&quot;
          HorizontalContentAlignment=&quot;Stretch&quot;
          FocusManager.IsFocusScope=&quot;True&quot;
          MouseDoubleClick=&quot;LV_MouseDoubleClick&quot;
          ScrollViewer.ScrollChanged=&quot;LV_ScrollChanged&quot; Foreground=&quot;White&quot; BorderBrush=&quot;#FFABADB3&quot; Background=&quot;Black&quot;&gt;
          &lt;ListView.Resources&gt;
              &lt;Style TargetType=&quot;{x:Type ListViewItem}&quot;&gt;
                  &lt;Setter Property=&quot;Template&quot;&gt;
                      &lt;Setter.Value&gt;
                          &lt;ControlTemplate TargetType=&quot;{x:Type ListViewItem}&quot;&gt;
                              &lt;Border
                                  x:Name=&quot;Bd&quot;
                                  Padding=&quot;{TemplateBinding Padding}&quot;
                                  Background=&quot;{TemplateBinding Background}&quot;
                                  BorderBrush=&quot;{TemplateBinding BorderBrush}&quot;
                                  BorderThickness=&quot;{TemplateBinding BorderThickness}&quot;
                                  SnapsToDevicePixels=&quot;true&quot;&gt;
                                  &lt;ContentPresenter
                                      HorizontalAlignment=&quot;{TemplateBinding HorizontalContentAlignment}&quot;
                                      VerticalAlignment=&quot;{TemplateBinding VerticalContentAlignment}&quot;
                                      SnapsToDevicePixels=&quot;{TemplateBinding SnapsToDevicePixels}&quot; /&gt;
                              &lt;/Border&gt;
                              &lt;ControlTemplate.Triggers&gt;
                                  &lt;MultiTrigger&gt;
                                      &lt;MultiTrigger.Conditions&gt;
                                          &lt;Condition Property=&quot;Selector.IsSelectionActive&quot; Value=&quot;False&quot; /&gt;
                                          &lt;Condition Property=&quot;IsSelected&quot; Value=&quot;True&quot; /&gt;
                                      &lt;/MultiTrigger.Conditions&gt;
                                      &lt;Setter TargetName=&quot;Bd&quot; Property=&quot;Background&quot; Value=&quot;#FFFF0080&quot; /&gt;
                                  &lt;/MultiTrigger&gt;
                                  &lt;MultiTrigger&gt;
                                      &lt;MultiTrigger.Conditions&gt;
                                          &lt;Condition Property=&quot;Selector.IsSelectionActive&quot; Value=&quot;True&quot; /&gt;
                                          &lt;Condition Property=&quot;IsSelected&quot; Value=&quot;True&quot; /&gt;
                                      &lt;/MultiTrigger.Conditions&gt;
                                      &lt;Setter TargetName=&quot;Bd&quot; Property=&quot;Background&quot; Value=&quot;#FFFF0080&quot; /&gt;
                                  &lt;/MultiTrigger&gt;
                              &lt;/ControlTemplate.Triggers&gt;
                          &lt;/ControlTemplate&gt;
                      &lt;/Setter.Value&gt;
                  &lt;/Setter&gt;
              &lt;/Style&gt;
          &lt;/ListView.Resources&gt;
          &lt;ListView.ItemTemplate&gt;
              &lt;DataTemplate&gt;
                  &lt;local:TraceEventElement Event=&quot;{Binding}&quot; /&gt;
              &lt;/DataTemplate&gt;
          &lt;/ListView.ItemTemplate&gt;
      &lt;/ListView&gt;
  </code></pre>
  <p>I tried these options, none was able to change the text color:</p>
  <pre class="lang-cs prettyprint-override"><code>            Foreground=&quot;Red&quot;
              TextBlock.Foreground=&quot;Red&quot;
              TextElement.Foreground=&quot;Red&quot;
  </code></pre>