Condividi tramite


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)

Syntax

'Declaration
Public Enumeration BarEndShape
'Usage
Dim instance As BarEndShape
public enum BarEndShape

Members

Member name Description
None Indicates that no shape is displayed in the Gantt view on the end of the specified Gantt bar.
HomePlateUp Indicates 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.
HomePlateDown Indicates 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.
Diamond Indicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a diamond shape.
UpTriangle Indicates 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.
DownTriangle Indicates 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.
RightTriangle Indicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a right triangle shape.
LeftTriangle Indicates 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.
UpArrow Indicates 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.
MiniHomePlateDown Indicates 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.
MiniHomePlateUp Indicates 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.
VertBar Indicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a vertical bar shape.
Square Indicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a square shape.
CircledDiamond Indicates 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.
DownArrow Indicates 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.
CircledUpTriangle Indicates 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.
CircledDownTriangle Indicates 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.
CircledUpArrow Indicates 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.
CircledDownArrow Indicates 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.
Circle Indicates that the image on the end of the specified bar shown in the Gantt view is displayed as a circle.
Star Indicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a five pointed star shape.
OpenBracket Indicates that the image used on the end of the specified bar shown in the Gantt view is displayed as a left square-bracket shape.
CloseBracket Indicates 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.

Remarks

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));
'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))

See Also

Reference

Microsoft.SharePoint.JSGrid Namespace