/// <summary> /// Create a Spreadsheet Cell. /// </summary> /// <param name="spreadsheetRow">The spreadsheet row associated with this cell.</param> /// <param name="spreadsheetColumn">The spreadsheet column associated with this cell.</param> public SpreadsheetCell(SpreadsheetRow spreadsheetRow, SpreadsheetColumn spreadsheetColumn) { // Initialize the Object. this.spreadsheetRow = spreadsheetRow; this.spreadsheetColumn = spreadsheetColumn; this.style = spreadsheetColumn.Style; this.IsModified = true; }
public AnimatedCell(SpreadsheetColumn spreadsheetColumn, SpreadsheetRow spreadsheetRow, Style[] animationArray) { // Initialize the object. Note that the first color in the sequence was set when the change in value was discovered, so // the sequencing actually begins with the second style in the sequence of colors. this.AnimationIndex = 1; this.AnimationArray = animationArray; this.SpreadsheetColumn = spreadsheetColumn; this.SpreadsheetRow = spreadsheetRow; }