Sets the value of the TaskBackgroundBarStroke attached property to a specified element such as a resource item, overriding the default value provided by the ScheduleChartView control.
The TaskBackgroundBarStroke property value indicates a Brush that specifies how a task background bar's outline is painted in the ScheduleChartView 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 SetTaskBackgroundBarStroke( DependencyObject element, Brush standardBackgroundBarStroke ) |
Visual Basic (Declaration) |
---|
Public Shared Sub SetTaskBackgroundBarStroke ( _ element As DependencyObject, _ standardBackgroundBarStroke As Brush _ ) |
Parameters
- element
- Type: System.Windows..::.DependencyObject
- standardBackgroundBarStroke
- Type: System.Windows.Media..::.Brush