Пример #1
0
 private void EnsureSomeItemIsHovered()
 {
     if (HoveredItem == null || !HoveredItem.Visible)
     {
         HoveredItem = Items.FirstOrDefault(i => i.Visible);
     }
 }
Пример #2
0
        private void HandleItemSelected(TypePickerItemBehaviour item)
        {
            var type = item.NodeType;

            TypeSelected(type);

            Hide();
        }