Sets the value of the MilestoneBarStroke attached property to a specified element such as a task item, overriding the default value provided by the GanttChartView control.
The MilestoneBarStroke property value indicates a Brush that specifies how a milestone task bar's outline 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.ControlsAssembly: DlhSoft.ProjectData.GanttChart.Controls (in DlhSoft.ProjectData.GanttChart.Controls.dll)
Syntax
C# |
---|
public static void SetMilestoneBarStroke( DependencyObject element, Brush milestoneBarStroke ) |
Visual Basic (Declaration) |
---|
Public Shared Sub SetMilestoneBarStroke ( _ element As DependencyObject, _ milestoneBarStroke As Brush _ ) |
Parameters
- element
- Type: System.Windows..::.DependencyObject
- milestoneBarStroke
- Type: System.Windows.Media..::.Brush