Sets the value of the ItemBackground attached property to a specified element such as an entity item, overriding the default value provided by the ChartViewBase control. The ItemBackground property value indicates the Brush that specifies how the background of an entity item is painted in the ChartViewBase 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 SetItemBackground(
	DependencyObject element,
	Brush itemBackground
)
Visual Basic (Declaration)
Public Shared Sub SetItemBackground ( _
	element As DependencyObject, _
	itemBackground As Brush _
)

See Also