Just add Foreground="{TemplateBinding TextElement.Foreground}"
to the elements in the template like this
<DataTemplate DataType="{x:Type l:City}">
<Expander
Header="Click to Expand"
Foreground="{TemplateBinding TextElement.Foreground}"
>
<TextBlock
Text="{Binding Name}"
Foreground="{TemplateBinding TextElement.Foreground}"
/>
</Expander>
</DataTemplate>
Cameron MacFarland
2009-03-03 08:21:24