< All Topics
Reports – create custom class
PostedNovember 5, 2021
UpdatedNovember 5, 2021
ByKasper Vestrup
This example shows how to create a custom statistics class that shows up in the generated report.
To add public values to the Statistics form window in Experior set the Observe value to true.
public class TestStatistics : Core.Reports.Statistics.Statistic
{
public override string Title
{
get { return "Test Statistics"; }
}
private double example;
[DisplayName("Example field")]
public double Example
{
get { return example; }
set
{
if (value != example)
{
example = value;
NotifyPropertyChanged("Example field");
}
}
}
}