Skip to content

Instantly share code, notes, and snippets.

@timheuer
Created August 17, 2023 19:09
Show Gist options
  • Save timheuer/baa960ba72290dbc285ea92b75cbc7ea to your computer and use it in GitHub Desktop.
Save timheuer/baa960ba72290dbc285ea92b75cbc7ea to your computer and use it in GitHub Desktop.
Get default value of current foreground
<!-- I need the parameter of the foreground to be the current value which will serve as a default if not converted -->
<TextBlock Foreground="{Binding Path=Conclusion,
Converter={StaticResource ConclusionColorConverter},
ConverterParameter={Binding RelativeSource={RelativeSource Mode=Self}}}" Text="{Binding Conclusion}" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment