Sets the value of the ResourceTemplate attached property to a specified element such as a resource item, overriding the default value provided by the LoadChartView control.
The ResourceTemplate property value indicates the data template to be used to display a resource.
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 SetResourceTemplate( DependencyObject element, DataTemplate resourceTemplate ) |
Visual Basic (Declaration) |
---|
Public Shared Sub SetResourceTemplate ( _ element As DependencyObject, _ resourceTemplate As DataTemplate _ ) |
Parameters
- element
- Type: System.Windows..::.DependencyObject
- resourceTemplate
- Type: System.Windows..::.DataTemplate