using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UIElements;
namespace MuHua {
///
/// 下拉框
///
public class UIDropdown : ModuleUIPanel, UIControl {
/// 绑定的画布
internal readonly VisualElement canvas;
/// 下拉框容器
internal readonly VisualElement DropdownContainer;
/// 下拉框滚动视图
internal readonly VisualElement DropdownScrollView;
/// 选项模板
internal readonly VisualTreeAsset TemplateAsset;
/// 值改变时
public event Action ValueChanged;
public T value;
public List list = new List();
internal UIScrollViewV scrollView;
internal ModuleUIItems DropdownItems;
/// 数据操作 list[index];
/// 总数 list.Count;
internal Label Tag => Q