private void AddUIControls() { GridView grid = new GridView(); grid.AddRow(0.5F, MeasureType.Percentage); grid.AddRow(0.5F, MeasureType.Percentage); grid.Frame = new RectangleF(0, IphoneEnviroment.StatusBarHeight, this.View.Frame.Width, this.View.Frame.Height - IphoneEnviroment.StatusBarHeight); UIButton button1 = new UIButton(UIButtonType.System); button1.SetTitle("BUTTON NORMAL", UIControlState.Normal); button1.SetTitle("button selected", UIControlState.Selected); button1.SetTitle("BUtton Highlight", UIControlState.Highlighted); button1.SetTitle("BUTTON", UIControlState.Application); button1.SetTitleColor(UIColor.Red, UIControlState.Selected); //button1.Selected = true; //button1.Highlighted = true; //button1.BackgroundColor = UIColor.Blue; UIButton button2 = new UIButton(UIButtonType.System); //button2.BackgroundColor = UIColor.Red; grid.AddSubView(button1, 0, 0); grid.AddSubView(button2, 1, 0); this.Add(grid); }