예제 #1
0
        private BarButton basicBtnSetup(string label, string icon, string action)
        {
            BarButton nbb = new BarButton()
            {
                Label        = label,
                Icon         = icon,
                ActionString = action
            };

            return(nbb);
        }
예제 #2
0
        public void AddButton(string label, string icon, string iconUri, string action)
        {
            BarButton nbb = basicBtnSetup(label, icon, action);

            Buttons.Add(nbb);
        }