public ScrollableSegmentedControl(IEnumerable <UIImage> sectionImages, IEnumerable <UIImage> sectionSelectedImages)
 {
     Initialize();
     this.sectionImages         = new List <UIImage>(sectionImages);
     this.sectionSelectedImages = new List <UIImage>(sectionSelectedImages);
     type = ScrollableSegmentedControlType.Image;
 }
 public ScrollableSegmentedControl(IEnumerable <string> sectionTitles)
 {
     Initialize();
     this.sectionTitles = new List <string>(sectionTitles);
     type = ScrollableSegmentedControlType.Text;
 }