Sets the value of the ToDependencyLineStroke attached property to a specified element such as a task item, overriding the default value provided by the GanttChartView control. The ToDependencyLineStroke property value indicates a Brush that specifies how a to task dependency line is painted in the GanttChartView control. Overriding the default value for a specific item requires that the IsItemAppearanceApplied property of the control to be set to true.

Namespace:  DlhSoft.Windows.Controls
Assembly:  DlhSoft.ProjectData.GanttChart.Controls (in DlhSoft.ProjectData.GanttChart.Controls.dll)

Syntax

C#
public static void SetToDependencyLineStroke(
	DependencyObject element,
	Brush toDependencyLineStroke
)
Visual Basic (Declaration)
Public Shared Sub SetToDependencyLineStroke ( _
	element As DependencyObject, _
	toDependencyLineStroke As Brush _
)

Parameters

element
Type: System.Windows..::.DependencyObject
toDependencyLineStroke
Type: System.Windows.Media..::.Brush

See Also