Sets the value of the BarVerticalMargin attached property to a specified element such as an entity item, overriding the default value provided by the ChartViewBase control. The BarVerticalMargin property value indicates the bar vertical margin (the emtpy space remaining at the top and at the bottom of the bar) 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 SetBarVerticalMargin(
	DependencyObject element,
	double barVerticalMargin
)
Visual Basic (Declaration)
Public Shared Sub SetBarVerticalMargin ( _
	element As DependencyObject, _
	barVerticalMargin As Double _
)

Parameters

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

See Also