WebSegmentedButton SegmentCount

With Framework 1.0 I’m pretty sure you could set the number of segments in a WebSegmentedButton at runtime. With Framework 2.0, it appears you must set the number of segments as design time.

Is there a way of adding or deleting segments in WebSegmentedButton at runtime?