Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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:
© 2015 Microsoft