constants GroupBarsOptionsEnum
The GroupBarsOptionEnum type specifies the way two bars gets grouped together. It may specify to prevent changing the lengths of the bars, or limit the interval between them when grouping. The GroupBars method groups two bars, so they are moving or resizing together, when any bar in the group changes. 

The length of the bar and interval between two bars are defined as follows:

The GroupBarsOptionEnum value mat be a combination of any of the following values:

NameValueDescription
exGroupBarsNone-1 Performs ungrouping the bars or specifies that the bars are not grouped. The exGroupBarsNone can't be used with any other options. Set the Link(exLinkGroupBars) property on exGroupBarsNone and if the linked bars were grouped they are ungrouped.
exGroupBarsOptionNone0 Specifies no options when grouping bars. Default option. 
exPreserveBarLengthA1 Preserves the length of the bar A when grouping. The length of the bar A is not changed if another bar in the same group may change it by grouping. Use the exPreserveBarLength value to specify that both bars should preserve their lengths. 
exPreserveBarLengthB2 Preserves the length of the bar B when grouping. The length of the bar B is not changed if another bar in the same group may change it by grouping.  Use the exPreserveBarLength value to specify that both bars should preserve their lengths. 
exPreserveBarLength3 Preserves the length of both bars when grouping. The length of both bars is not changed when another bar in the same group may change the length of bars A and B.
exIgnoreOriginalInterval4 Ignores the original interval between bars when grouping. At the moment GroupBars method is called, the control keeps the original interval between bars, so this option will specify whether to handle or not. For instance, you can have the exIgnoreOriginalInterval, and you can specify a different interval between bars using the first parameter ( Fixed Interval ) in the Options parameter of the GroupBars method.
exLimitIntervalMin8 Limits the interval between bars so it can't be less than a specified value.
exLimitIntervalMax16 Limits the interval between bars so it can't be greater than a specified value.
exLimitInterval24 Limits the interval between bars so it fits a specified range.
exFlexibleInterval32 The interval between bars is not limited and the bar B can be moved anywhere to the right of the bar A.
exLimitIntervalTreatAsWorking64 The interval between bars is specified in working units. The NonworkingDays property specifies the days to be non-working. The exLimitIntervalTreatAsWorking can be combined with exLimitIntervalMin, exLimitIntervalMax or exLimitInterval. If the exLimitIntervalTreatAsWorking is set, interval value indicates working days, else it indicates days.