Skip to content

File ItemChangedEventArgs.cs

File List > LemonUI > LemonUI > Menus > ItemChangedEventArgs.cs

Go to the documentation of this file


namespace LemonUI.Menus
{
    public class ItemChangedEventArgs<T>
    {
        #region Properties

        public T Object { get; set; }
        public int Index { get; }
        public Direction Direction { get; }

        #endregion

        #region Constructors

        internal ItemChangedEventArgs(T obj, int index, Direction direction)
        {
            Object = obj;
            Index = index;
            Direction = direction;
        }

        #endregion
    }
}