Sets the value of the BarHeight attached property to a specified element such as an entity item, overriding the default value provided by the ChartViewBase control. The BarHeight property value indicates the bar height of an entity item 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 SetBarHeight(
	DependencyObject element,
	double barHeight
)
Visual Basic (Declaration)
Public Shared Sub SetBarHeight ( _
	element As DependencyObject, _
	barHeight As Double _
)

Parameters

element
Type: System.Windows..::.DependencyObject
barHeight
Type: System..::.Double

See Also