コード例 #1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();
            this.Btn1.DefaultStyle();
            this.Btn1.SetTitle("Default", UIControlState.Normal);
            Btn1.AddAwesomeIcon(AwesomeIcon.Bookmark, true);

            this.Btn2.PrimaryStyle();
            this.Btn2.SetTitle("Primary", UIControlState.Normal);
            Btn2.AddAwesomeIcon(AwesomeIcon.Check, true);

            this.Btn3.SuccessStyle();
            this.Btn3.SetTitle("Success", UIControlState.Normal);
            Btn3.AddAwesomeIcon(AwesomeIcon.DownloadAlt, false);

            this.Btn4.InfoStyle();
            this.Btn4.SetTitle("Info", UIControlState.Normal);


            this.Btn5.WarningStyle();
            this.Btn5.SetTitle("Warning", UIControlState.Normal);
            Btn5.AddAwesomeIcon(AwesomeIcon.Cloud, true);

            this.Btn6.DangerStyle();
            this.Btn6.SetTitle("Danger", UIControlState.Normal);
            Btn6.AddAwesomeIcon(AwesomeIcon.Star, false);

            this.Btn7.SuccessStyle();
            this.Btn7.SetTitle(" ", UIControlState.Normal);
            Btn7.AddAwesomeIcon(AwesomeIcon.Calendar, true);

            this.Btn8.SuccessStyle();
            this.Btn8.SetTitle(" ", UIControlState.Normal);
            Btn8.AddAwesomeIcon(AwesomeIcon.Dashboard, false);

            // Perform any additional setup after loading the view, typically from a nib.
        }