Hello,
I.m using GanttView to display my MS Project and I wish to highlight a critical task by setting the corresponding item's background color to Yellow. I've looked up the documentation and tried the RowHighlightContainer, but that seems only changes the behavior when MouseOver and not working with the highlighted items. By the way, I've already the critical tasks to HighlightItemSource Property. Any suggestions?
Here's a snippet of my code:
<
Style
TargetType
=
"telerik:RowHighlightContainer"
>
<
Setter
Property
=
"Background"
Value
=
"Yellow"
/>
</
Style
>
...
<
telerik:RadGanttView
x:Name
=
"GanttView"
TasksSource
=
"{Binding Tasks}"
BorderThickness
=
"1"
SelectedItem
=
"{Binding SelectedTask, Mode=TwoWay}"
InitialExpandBehavior
=
"{StaticResource InitialExpandBehavior}"
HighlightedItemsSource
=
"{Binding HighlightedTasks}"
MouseDown
=
"UIElement_OnMouseDown"
Margin
=
"0 6 0 0"
PixelLength
=
"{Binding PixelLength}"
VisibleRange
=
"{Binding VisibleRange}"
/>