Version

TotalFormula Property

Gets or sets the formula to use in the total cell of the column.
Syntax
public Formula TotalFormula {get; set;}
Exceptions
ExceptionDescription
System.ArgumentException The value is already applied to something else, such as a cell or table column.
System.InvalidOperationExceptionFrom the setter if column was removed from the table.
Remarks

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.

Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also