using System;
using TelegramBotBase.Controls.Hybrid;
namespace TelegramBotBase.Args
{
public class CheckedChangedEventArgs : EventArgs
{
///
/// Contains the index of the row where the button is inside.
/// Contains -1 when it is a layout button or not found.
///
public int Index { get; set; }
///
/// Contains all buttons within this row, excluding the checkbox.
///
public ButtonRow Row { get; set; }
///
/// Contains the new checked status of the row.
///
public bool Checked { get; set; }
public CheckedChangedEventArgs()
{
}
public CheckedChangedEventArgs(ButtonRow row, int index, bool @checked)
{
Row = row;
this.Index = index;
this.Checked = @checked;
}
}
}