maui-linux/Xamarin.Forms.Core/ItemVisibilityEventArgs.cs

24 строки
454 B
C#

using System;
namespace Xamarin.Forms
{
public sealed class ItemVisibilityEventArgs : EventArgs
{
[Obsolete("Please use the constructor that reports the items index")]
public ItemVisibilityEventArgs(object item)
: this(item, -1)
{
}
public ItemVisibilityEventArgs(object item, int itemIndex)
{
Item = item;
ItemIndex = itemIndex;
}
public object Item { get; private set; }
public int ItemIndex { get; private set; }
}
}