Sets the value of the StandardTaskTemplate attached property to a specified element such as a task item, overriding the default value provided by the GanttChartView control.
The StandardTaskTemplate property value indicates the data template to be used to display a task if it is a standard task.
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 SetStandardTaskTemplate( DependencyObject element, DataTemplate standardTaskTemplate ) |
Visual Basic (Declaration) |
---|
Public Shared Sub SetStandardTaskTemplate ( _ element As DependencyObject, _ standardTaskTemplate As DataTemplate _ ) |
Parameters
- element
- Type: System.Windows..::.DependencyObject
- standardTaskTemplate
- Type: System.Windows..::.DataTemplate