Export (0) Print
Expand All
Expand Minimize

BarShapePattern enumeration

Indicates that the bar shape is displayed as filled or hollow.

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

public enum BarShapePattern

Member nameDescription
FilledIndicates that the bar shape is displayed as a filled color in the displayable bar area.
HollowIndicates that the bar shape is displayed with no color formatting in the displayable bar area.

This example demonstrates the use of a ‘Filled’ bar shape pattern.

/*PctComplete Bar Style*/
   styleInfoObj.AddBarStyle(new GanttBarStyle(
   CustomBarStyle.PctComplete, BarShape.MidHalf, Color.Black, BarPattern.Solid,
   BarEndShape.None, Color.Black, BarShapePattern.Filled,
   BarEndShape.None, Color.Black, BarShapePattern.Filled,
   "Start Date", "CompleteThrough", 1));

Show:
© 2014 Microsoft