12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- 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
- {
- /// <summary>
- /// Default value of <see cref="ClickType"/>.
- /// </summary>
- Empty = 0,
- Click,
- CheckboxClick,
- TextEdit,
- DetailedReport,
- DetailedPage,
- Bookmark,
- PageNumber,
- AdvancedMatrixClick
- }
- }
|