Exception | Description |
---|---|
System.ArgumentException | The value is already applied to something else, such as a cell or table column. |
System.InvalidOperationException | From the setter if column was removed from the table. |
The total formula can be set regardless of whether or not the totals row is visible. If the totals row is hidden, the formula will not be applied anywhere. When the totals row is visible, it will be applied to the total cell of the column.
Setting the TotalFormula to a non-null value will clear the TotalLabel, and vice versa.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2