BarEndShape enumeration

Specifies the shape that is displayed on either end of a Gantt bar.

Namespace:  Microsoft.SharePoint.JSGrid
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public enum BarEndShape

Member nameDescription
NoneIndicates that no shape is displayed in the Gantt view on the end of the specified Gantt bar.
HomePlateUpIndicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a square overlaid with a triangle shape that points up.
HomePlateDownIndicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a square overlaid with a triangle shape that points down.
DiamondIndicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a diamond shape.
UpTriangleIndicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a triangle shape that points up.
DownTriangleIndicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a triangle shape that points down.
RightTriangleIndicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a right triangle shape.
LeftTriangleIndicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a triangle shape that points left.
UpArrowIndicates that the image used on the end of the specified bar shown in the Gantt view is displayed as an arrow shape that points up.
MiniHomePlateDownIndicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a small square overlaid with a small triangle shape that points down.
MiniHomePlateUpIndicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a small square overlaid with a small triangle shape that points up.
VertBarIndicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a vertical bar shape.
SquareIndicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a square shape.
CircledDiamondIndicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a circle overlaid with a diamond shape.
DownArrowIndicates that the image used on the end of the specified bar shown in the Gantt view is displayed as an arrow shape that points down.
CircledUpTriangleIndicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a circle overlaid with a triangle shape that points up.
CircledDownTriangleIndicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a circle overlaid with a triangle shape that points down.
CircledUpArrowIndicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a circle overlaid with an arrow shape that points up.
CircledDownArrowIndicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a circle overlaid with an arrow shape that points down.
CircleIndicates that the image on the end of the specified bar shown in the Gantt view is displayed as a circle.
StarIndicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a five pointed star shape.
OpenBracketIndicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a left square-bracket shape.
CloseBracketIndicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a circle overlaid with a right square-bracket shape.

This example demonstrates creating a summary gantt bar that uses the ‘HomePlateDown’ bar end style.

/*Summary Bar Style*/
   styleInfoObj.AddBarStyle(new GanttBarStyle(
   CustomBarStyle.Summary, BarShape.TopHalf, Color.Gray, BarPattern.Solid,
   BarEndShape.HomePlateDown, Color.Gray, BarShapePattern.Filled,
   BarEndShape.HomePlateDown, Color.Gray, BarShapePattern.Filled,
   "Start Date", "Finish Date", 1));

Show: