コード例 #1
0
        public override void ViewDidLoad()
        {
            View = new UniversalView(View.Frame)
            {
                BackgroundColor = UIColor.FromRGB(214, 214, 214)
            };

            Settings.Style.ButtonBarBackgroundColor                = themeColor;
            Settings.Style.ButtonBarItemBackgroundColor            = themeColor;
            Settings.Style.SelectedBarBackgroundColor              = UIColor.White;
            Settings.Style.ButtonBarItemFont                       = UIFont.BoldSystemFontOfSize(12);
            Settings.Style.SelectedBarHeight                       = 2;
            Settings.Style.SelectedBarWidth                        = 40;
            Settings.Style.ButtonBarMinimumLineSpacing             = 0;
            Settings.Style.ButtonBarItemTitleColor                 = UIColor.White;
            Settings.Style.ButtonBarItemsShouldFillAvailiableWidth = true;
            Settings.Style.ButtonBarLeftContentInset               = 0;
            Settings.Style.ButtonBarRightContentInset              = 0;
            Settings.Style.ButtonBarHeight = 48;

            ChangeCurrentIndexProgressive = changeCurrentIndexProgressive;

            base.ViewDidLoad();

            // Perform any additional setup after loading the view
        }
コード例 #2
0
        public override void ViewDidLoad()
        {
            View = new UniversalView(View.Frame)
            {
                BackgroundColor = UIColor.FromRGB(214, 214, 214)
            };

            Settings.Style.SegmentedControlColor = themeColor;
            Settings.Style.SegmentedWidth        = UIScreen.MainScreen.Bounds.Width - 60;
            Settings.Style.SegmentedHeight       = 35;

            base.ViewDidLoad();

            // Perform any additional setup after loading the view
        }