why works ...
& Lt; / DataTemplate & gt; & Lt; / Data: DataGridTemplateColumn.CellTemplate & gt; & Lt; / Data: DataGridTemplateColumn & gt;
But it does not ...
& lt; Data: DataGridTextColumn header = "YTD V Exchange" binding = "{binding ytdExchangeReturn.value, converter = {StaticResource fcFixedDecimalConverter}}" foreground = "}" /> gt; {ytdExchangeReturn.value, converter = {StaticResource fcForegroundValueConverter binding};
I get the 'System.index.markup.xamlParseException: AG_E_PARSER_BAD_PROPERTY_VALUE' for another. The problem applies ony to the foreground converter, the bond is fine.
I think the issue is that the property of the foreground of DataGridTextColumn is not a dependency property and therefore Can not be used for the database.
TextBlock's foreground property used for CellTemplate is therefore a valid target for asset and data binding.
Reference:
Comments
Post a Comment