using System; using System.Collections.Generic; using System.Linq; namespace FastReport.Web.Blazor.Export { public sealed class OnClickEventArgs : EventArgs { public ReportComponentBase Object { get; } public ClickType Type { get; } public int PageNumber { get; } public Report Report { get; } public OnClickEventArgs(ReportComponentBase Object, ClickType type) { this.Object = Object; this.Type = type; this.Report = Object.Report; } public OnClickEventArgs(ReportComponentBase Object, ClickType type, int pageNumber) : this(Object, type) { this.PageNumber = pageNumber; } } public enum ClickType { /// /// Default value of . /// Empty = 0, Click, CheckboxClick, TextEdit, DetailedReport, DetailedPage, Bookmark, PageNumber, AdvancedMatrixClick } }