Interface CfnDashboardPropsMixin.IPivotTableCellConditionalFormattingProperty
The cell conditional formatting option for a pivot table.
Namespace: Amazon.CDK.Mixins.Preview.AWS.QuickSight.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnDashboardPropsMixin.IPivotTableCellConditionalFormattingProperty
Syntax (vb)
Public Interface 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.Mixins.Preview.AWS.QuickSight.Mixins;
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
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. |
Properties
FieldId
The field ID of the cell for conditional formatting.
string? FieldId { get; }
Property Value
Remarks
Scope
The scope of the cell for conditional formatting.
object? Scope { get; }
Property Value
Remarks
Type union: either IResolvable or CfnDashboardPropsMixin.IPivotTableConditionalFormattingScopeProperty
Scopes
A list of cell scopes for conditional formatting.
object? Scopes { get; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnDashboardPropsMixin.IPivotTableConditionalFormattingScopeProperty)[]
TextFormat
The text format of the cell for conditional formatting.
object? TextFormat { get; }
Property Value
Remarks
Type union: either IResolvable or CfnDashboardPropsMixin.ITextConditionalFormatProperty