Sets the value of the BarVerticalAlignment attached property to a specified element such as an entity item, overriding the default value provided by the ChartViewBase control.
The BarVerticalAlignment value indicates the bar vertical alignment (position of the bar in the item row space after applying the bar vertical margin) 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.ControlsAssembly: DlhSoft.ProjectData.GanttChart.Controls (in DlhSoft.ProjectData.GanttChart.Controls.dll)
Syntax
C# |
---|
public static void SetBarVerticalAlignment( DependencyObject element, VerticalAlignment barVerticalAlignment ) |
Visual Basic (Declaration) |
---|
Public Shared Sub SetBarVerticalAlignment ( _ element As DependencyObject, _ barVerticalAlignment As VerticalAlignment _ ) |
Parameters
- element
- Type: System.Windows..::.DependencyObject
- barVerticalAlignment
- Type: System.Windows..::.VerticalAlignment