This question is locked. New answers and comments are not allowed.
I am using the following XAML
I see no change in the cell regardless of what the values is. What am I doing wrong?
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding CurrentForecastEntry.Month11Qty, Mode=TwoWay, Converter={StaticResource NullInt}}"
>
<
telerik:GridViewDataColumn.Header
>
<
TextBlock
DataContext
=
"{StaticResource ViewModel}"
Text
=
"{Binding CurrentForecastPeriod.Month11, StringFormat=MMM, FallbackValue='Month01'}"
ToolTipService.ToolTip
=
"{Binding PeriodValue11, StringFormat=MMM-yy}"
/>
</
telerik:GridViewDataColumn.Header
>
<
telerik:GridViewDataColumn.CellTemplateSelector
>
<
telerik:ConditionalDataTemplateSelector
>
<
telerik:DataTemplateRule
Condition="MonthQuantity11 >= 0">
<
DataTemplate
>
<
Border
Background
=
"Red"
>
<
TextBlock
Foreground
=
"Red"
Text
=
"{Binding CurrentForecastEntry.Month11Qty}"
/>
</
Border
>
</
DataTemplate
>
</
telerik:DataTemplateRule
>
<
telerik:DataTemplateRule
Condition
=
"CurrentForecastEntry.MonthQuantity11 != null"
>
<
DataTemplate
>
<
TextBlock
Text
=
"{Binding CurrentForecastEntry.Month11Qty}"
/>
</
DataTemplate
>
</
telerik:DataTemplateRule
>
</
telerik:ConditionalDataTemplateSelector
>
</
telerik:GridViewDataColumn.CellTemplateSelector
>
</
telerik:GridViewDataColumn
>
I see no change in the cell regardless of what the values is. What am I doing wrong?