RVTDocs.com
Namespace: Autodesk.Revit.DB Class: ScheduleField

ScheduleField.DisplayType

Property
Description:
Indicates the chosen display type for the field.
Remarks:

This replaces the hasTotals property from 2017. The hasTotals = true is same as DisplayType::Totals; hasTotals = false is the same as DisplayType::Standard. This also adds the ability to see Min/Max for grouped elements.

Syntax
public ScheduleFieldDisplayType DisplayType { get; set; }
Exceptions
Exception Condition
ArgumentOutOfRangeException When setting this property: A value passed for an enumeration argument is not a member of that enumeration
InvalidOperationException When setting this property: This ScheduleField cannot display minimum and maximum values. -or- When setting this property: This ScheduleField cannot be totaled.