In version 2.0 we implemented a new converter "DeadlineColorConverterEx", similar to "DeadlineColorConverter".
The first parameter is the deadline date of the object.
String parameters 2 and 3 are optional.
In the following example the text background is green if the article deadline is in the future, red if in the past. But if article workstate is "5 - Ready" or "6 - Closed" the bakground is green, showing that the article is complete. These 2 parameters can also work on different fields.
<TextBlock VerticalAlignment="Top"
Text="{Binding Path=[article.autoDeadline], Converter={StaticResource StringFormatValueConverter}, ConverterParameter=\{0:g\}}">
<TextBlock.Background>
<MultiBinding Converter="{StaticResource DeadlineColorConverterEx}"
ConverterParameter="Tomato:LimeGreen">
<Binding Path="[article.autoDeadline]" />
<Binding Path="[article.folderRef.workstateRef.name]" />
<Binding Source="5 - Ready|6 - Closed"/>
</MultiBinding>
</TextBlock.Background>
</TextBlock>
Implemented also in Web interface (article dirstyle).