CPF/CPF.ReoGrid/Formula/STCellNode.cs
2024-06-24 10:15:59 +08:00

23 lines
503 B
C#

using System;
namespace CPF.ReoGrid.Formula
{
internal class STCellNode : STNode
{
public Worksheet Worksheet { get; set; }
public CellPosition Position { get; set; }
public STCellNode(Worksheet worksheet, CellPosition pos, STNodeType type, int start, int len) : base(type, start, len)
{
this.Worksheet = worksheet;
this.Position = pos;
}
public override object Clone()
{
return new STCellNode(this.Worksheet, this.Position, base.Type, base.Start, base.Length);
}
}
}