You could change the Background
of the Milestone
by creating an implicit style for the MilestoneContainer
since changing the task type, changes its container as well:
The gantt namespace is xmlns:gantt="clr-namespace:Telerik.Windows.Controls.GanttView;assembly=Telerik.Windows.Controls.GanttView"
Note that if you are using Implicit styles with noXAML
assemblies (merging resources in App.xaml), you need the BasedOn
to have the rest of the style applied (control template, borders, sizes, etc.).
If you are using XAML
assemblies with StyleManager
, you would need to remove the BasedOn
property from the Style.
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin
, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.