private void EnsureSomeItemIsHovered() { if (HoveredItem == null || !HoveredItem.Visible) { HoveredItem = Items.FirstOrDefault(i => i.Visible); } }
private void HandleItemSelected(TypePickerItemBehaviour item) { var type = item.NodeType; TypeSelected(type); Hide(); }