public MenuPage()
        {
            InitializeComponent();
            Title = "PCL Menu";
            var _pickerModel = PickerModel.CreateModel();

            lvMenu.ItemsSource   = _pickerModel;
            lvMenu.ItemSelected += LvMenu_ItemSelected;
        }
Example #2
0
        public MainPage()
        {
            InitializeComponent();
            _pickerModel = PickerModel.CreateModel();
            foreach (var item in _pickerModel)
            {
                picker1.Items.Add(item.Name);
            }
            picker1.Title                 = "Colors";
            picker1.SelectedIndex         = 0;
            picker1.SelectedIndexChanged += Picker1_SelectedIndexChanged;

            stepper1.ValueChanged += Stepper1_ValueChanged;

            switcher1.Toggled += Switcher1_Toggled;

            slider1.ValueChanged += Slider1_ValueChanged;
        }