using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sheng.Winform.Controls
{

    /// <summary>
    /// 双击项事件参数
    /// </summary>
    public class ShengListViewItemDoubleClickEventArgs : EventArgs
    {
        /// <summary>
        /// 
        /// </summary>
        public ShengListViewItem Item { get; private set; }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="item"></param>
        public ShengListViewItemDoubleClickEventArgs(ShengListViewItem item)
        {
            Item = item;
        }
    }

    /// <summary>
    /// 项被删除事件参数
    /// </summary>
    public class ShengListViewItemsRemovedEventArgs : EventArgs
    {
        /// <summary>
        /// 
        /// </summary>
        public List<ShengListViewItem> Items { get; private set; }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="items"></param>
        public ShengListViewItemsRemovedEventArgs(List<ShengListViewItem> items)
        {
            Items = items;
        }
    }
    /// <summary>
    /// 
    /// </summary>
    public class ShengListViewGetItemTextEventArgs : EventArgs
    {
        /// <summary>
        /// 
        /// </summary>
        public object Item { get; private set; }
        /// <summary>
        /// 
        /// </summary>
        public string Text { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="item"></param>
        public ShengListViewGetItemTextEventArgs(object item)
        {
            Item = item;
        }
    }
}
