Exemplo n.º 1
0
        protected void BaseInit()
        {
            Items              = new PickerList();
            DisplayItemCount   = 5;
            DisplayItemSpacing = 2;
            _SelectedIndex     = 0;
            FontDetails        = new FontBuilder(DefaultFont.FontFamily.ToString(), FontStyle.Regular);
            timerHover         = new Timer();

            Items.ItemAdded          += OnItemAdded;
            AllItemCountChanged      += OnAllItemCountChanged;
            LargestWordLengthChanged += OnLargestWordLengthChanged;
            SelectedIndexChanged     += OnSelectedIndexChanged;
            timerHover.Tick          += OnTimerHoverTick;
            MouseHover += OnMouseHover;
            MouseClick += OnMouseClick;
            //MouseWheel += OnMouseWheel;
        }
Exemplo n.º 2
0
 private void PickerLabel_OnTapped(object sender, EventArgs e)
 {
     PickerList.Focus();
 }