CPF/CPF.ReoGrid/NullAutoFillSectionEntry.cs

25 lines
491 B
C#
Raw Permalink Normal View History

2024-06-24 10:15:59 +08:00
using System;
namespace CPF.ReoGrid
{
public class NullAutoFillSectionEntry : IAutoFillSectionEntry
{
public object Value { get; }
public bool IsSequenceOf(IAutoFillSectionEntry otherEntry)
{
return otherEntry is NullAutoFillSectionEntry;
}
public object GetIterationValue(object baseValue, object incrementPerIteration, int iteration)
{
return null;
}
public object GetIncrementPerIteration(object baseValue, int numberOfEntries)
{
return null;
}
}
}