Sets the value of the MilestoneTaskTemplate attached property to a specified element such as a task item, overriding the default value provided by the GanttChartView control.
The MilestoneTaskTemplate property value indicates the data template to be used to display a task if it is a milestone (has its effort value set to zero).
Overriding the default value for a specific item requires that the IsItemAppearanceApplied property of the control to be set to true.
Namespace:
DlhSoft.Windows.ControlsAssembly: DlhSoft.ProjectData.GanttChart.Controls (in DlhSoft.ProjectData.GanttChart.Controls.dll)
Syntax
C# |
---|
public static void SetMilestoneTaskTemplate( DependencyObject element, DataTemplate milestoneTaskTemplate ) |
Visual Basic (Declaration) |
---|
Public Shared Sub SetMilestoneTaskTemplate ( _ element As DependencyObject, _ milestoneTaskTemplate As DataTemplate _ ) |
Parameters
- element
- Type: System.Windows..::.DependencyObject
- milestoneTaskTemplate
- Type: System.Windows..::.DataTemplate