Partager via


BarShapePattern - Énumération

Indique que la barre de forme est affichée comme rempli ou creux.

Espace de noms :  Microsoft.SharePoint.JSGrid
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Enumeration BarShapePattern
'Utilisation
Dim instance As BarShapePattern
public enum BarShapePattern

Membres

Nom du membre Description
Filled Indique que la barre de forme s'affiche comme couleur de remplissage dans la barre zone affichable.
Hollow Indique que la barre de forme s'affiche sans mise en forme dans la barre zone affichable de couleur.

Remarques

Cet exemple illustre l'utilisation d'un motif de forme de barre « Plein ».

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

Voir aussi

Référence

Microsoft.SharePoint.JSGrid - Espace de noms