private bool IsEnabled(PivotType pivotType) { foreach (NodeData nodeData in _columns) { Type table; String column; _columnSet.ResolveColumn(nodeData, out table, out column); if (pivotType.IsCrosstabValue(table, column)) { return(true); } } return(false); }