Class CfnDashboardPropsMixin.PivotTableCellConditionalFormattingProperty
The cell conditional formatting option for a pivot table.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.QuickSight
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnDashboardPropsMixin.PivotTableCellConditionalFormattingProperty : CfnDashboardPropsMixin.IPivotTableCellConditionalFormattingProperty
Syntax (vb)
Public Class CfnDashboardPropsMixin.PivotTableCellConditionalFormattingProperty Implements CfnDashboardPropsMixin.IPivotTableCellConditionalFormattingProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.QuickSight;
var pivotTableCellConditionalFormattingProperty = new PivotTableCellConditionalFormattingProperty {
FieldId = "fieldId",
Scope = new PivotTableConditionalFormattingScopeProperty {
Role = "role"
},
Scopes = new [] { new PivotTableConditionalFormattingScopeProperty {
Role = "role"
} },
TextFormat = new TextConditionalFormatProperty {
BackgroundColor = new ConditionalFormattingColorProperty {
Gradient = new ConditionalFormattingGradientColorProperty {
Color = new GradientColorProperty {
Stops = new [] { new GradientStopProperty {
Color = "color",
DataValue = 123,
GradientOffset = 123
} }
},
Expression = "expression"
},
Solid = new ConditionalFormattingSolidColorProperty {
Color = "color",
Expression = "expression"
}
},
Icon = new ConditionalFormattingIconProperty {
CustomCondition = new ConditionalFormattingCustomIconConditionProperty {
Color = "color",
DisplayConfiguration = new ConditionalFormattingIconDisplayConfigurationProperty {
IconDisplayOption = "iconDisplayOption"
},
Expression = "expression",
IconOptions = new ConditionalFormattingCustomIconOptionsProperty {
Icon = "icon",
UnicodeIcon = "unicodeIcon"
}
},
IconSet = new ConditionalFormattingIconSetProperty {
Expression = "expression",
IconSetType = "iconSetType"
}
},
TextColor = new ConditionalFormattingColorProperty {
Gradient = new ConditionalFormattingGradientColorProperty {
Color = new GradientColorProperty {
Stops = new [] { new GradientStopProperty {
Color = "color",
DataValue = 123,
GradientOffset = 123
} }
},
Expression = "expression"
},
Solid = new ConditionalFormattingSolidColorProperty {
Color = "color",
Expression = "expression"
}
}
}
};
Synopsis
Constructors
| PivotTableCellConditionalFormattingProperty() | The cell conditional formatting option for a pivot table. |
Properties
| FieldId | The field ID of the cell for conditional formatting. |
| Scope | The scope of the cell for conditional formatting. |
| Scopes | A list of cell scopes for conditional formatting. |
| TextFormat | The text format of the cell for conditional formatting. |
Constructors
PivotTableCellConditionalFormattingProperty()
The cell conditional formatting option for a pivot table.
public PivotTableCellConditionalFormattingProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.QuickSight;
var pivotTableCellConditionalFormattingProperty = new PivotTableCellConditionalFormattingProperty {
FieldId = "fieldId",
Scope = new PivotTableConditionalFormattingScopeProperty {
Role = "role"
},
Scopes = new [] { new PivotTableConditionalFormattingScopeProperty {
Role = "role"
} },
TextFormat = new TextConditionalFormatProperty {
BackgroundColor = new ConditionalFormattingColorProperty {
Gradient = new ConditionalFormattingGradientColorProperty {
Color = new GradientColorProperty {
Stops = new [] { new GradientStopProperty {
Color = "color",
DataValue = 123,
GradientOffset = 123
} }
},
Expression = "expression"
},
Solid = new ConditionalFormattingSolidColorProperty {
Color = "color",
Expression = "expression"
}
},
Icon = new ConditionalFormattingIconProperty {
CustomCondition = new ConditionalFormattingCustomIconConditionProperty {
Color = "color",
DisplayConfiguration = new ConditionalFormattingIconDisplayConfigurationProperty {
IconDisplayOption = "iconDisplayOption"
},
Expression = "expression",
IconOptions = new ConditionalFormattingCustomIconOptionsProperty {
Icon = "icon",
UnicodeIcon = "unicodeIcon"
}
},
IconSet = new ConditionalFormattingIconSetProperty {
Expression = "expression",
IconSetType = "iconSetType"
}
},
TextColor = new ConditionalFormattingColorProperty {
Gradient = new ConditionalFormattingGradientColorProperty {
Color = new GradientColorProperty {
Stops = new [] { new GradientStopProperty {
Color = "color",
DataValue = 123,
GradientOffset = 123
} }
},
Expression = "expression"
},
Solid = new ConditionalFormattingSolidColorProperty {
Color = "color",
Expression = "expression"
}
}
}
};
Properties
FieldId
The field ID of the cell for conditional formatting.
public string? FieldId { get; set; }
Property Value
Remarks
Scope
The scope of the cell for conditional formatting.
public object? Scope { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnDashboardPropsMixin.IPivotTableConditionalFormattingScopeProperty
Scopes
A list of cell scopes for conditional formatting.
public object? Scopes { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnDashboardPropsMixin.IPivotTableConditionalFormattingScopeProperty)[]
TextFormat
The text format of the cell for conditional formatting.
public object? TextFormat { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnDashboardPropsMixin.ITextConditionalFormatProperty