Skip to content

Instantly share code, notes, and snippets.

@chrisntr
Created December 15, 2010 20:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisntr/742577 to your computer and use it in GitHub Desktop.
Save chrisntr/742577 to your computer and use it in GitHub Desktop.
var items = new []{"Ice Cream", "Chips"};
segmentedControl = new UISegmentedControl(items);
segmentedControl.ControlStyle = UISegmentedControlStyle.Bezeled;
segmentedControl.Frame = new System.Drawing.RectangleF(40f, 40f, 200f, 30f);
window.AddSubview(segmentedControl);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment