/// <summary> /// 移除Item /// </summary> /// <param name="item">Item</param> /// <remarks>移除Item</remarks> public void Remove(ButtonItem item) { List.Remove(item); }
/// <summary> /// 取得Item索引值 /// </summary> /// <param name="item">Item</param> /// <returns>取得Item的索引值</returns> public int IndexOf(ButtonItem item) { return(List.IndexOf(item)); }
/// <summary> /// 在指定位置添加Item /// </summary> /// <param name="index">索引位置</param> /// <param name="item">Item</param> public void Insert(int index, ButtonItem item) { List.Insert(index, item); }
/// <summary> /// 添加Item /// </summary> /// <param name="item">Item</param> /// <returns>添加Item</returns> /// <remarks>添加Item</remarks> public int Add(ButtonItem item) { return(List.Add(item)); }
/// <summary> /// 取得Item索引值 /// </summary> /// <param name="item">Item</param> /// <returns>取得Item的索引值</returns> public int IndexOf(ButtonItem item) { return (List.IndexOf(item)); }
/// <summary> /// 添加Item /// </summary> /// <param name="item">Item</param> /// <returns>添加Item</returns> /// <remarks>添加Item</remarks> public int Add(ButtonItem item) { return (List.Add(item)); }