# Id Property

## Overloads

| [Id](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.IHyperCubeAttrExprDef.Id.htm#Qlik_Sense_Client_Visualizations_IHyperCubeAttrExprDef_Id) |  | Id used by the client to identify attributes, different id are used depending what attributes are targeted. 'cellBackgroundColor': For attribute expression, expression for background color of table cell. 'cellForegroundColor': For attribute expression, expression for text color of table cell. 'colorByAlternative': Can be used together with color.mode = 'byDimension' for attribute dimensions and with color.mode = 'byMeasure' for attribute expressions to color the chart using different dimensions, measures and expressions. 'colorByExpression': Used together with color.mode = 'byExpression'.<br><br>JSON property name: id |
| --- | --- | --- |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.IHyperCubeAttrExprDef.Id.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.IHyperCubeAttrExprDef.Id.htm)

## Id

Id used by the client to identify attributes, different id are used depending what attributes are targeted. 'cellBackgroundColor': For attribute expression, expression for background color of table cell. 'cellForegroundColor': For attribute expression, expression for text color of table cell. 'colorByAlternative': Can be used together with color.mode = 'byDimension' for attribute dimensions and with color.mode = 'byMeasure' for attribute expressions to color the chart using different dimensions, measures and expressions. 'colorByExpression': Used together with color.mode = 'byExpression'.

JSON property name: id

### Declaration

```

          AttrId Id { get; set; }
    
  
```

### Property Value

| Type | Description |
| --- | --- |
| [AttrId](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Sense.Client.Visualizations.AttrId.htm) |  |