Class CfnTemplatePropsMixin.PivotTableConditionalFormattingProperty
The conditional formatting for a PivotTableVisual .
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.QuickSight
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnTemplatePropsMixin.PivotTableConditionalFormattingProperty : CfnTemplatePropsMixin.IPivotTableConditionalFormattingProperty
Syntax (vb)
Public Class CfnTemplatePropsMixin.PivotTableConditionalFormattingProperty Implements CfnTemplatePropsMixin.IPivotTableConditionalFormattingProperty
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 pivotTableConditionalFormattingProperty = new PivotTableConditionalFormattingProperty {
ConditionalFormattingOptions = new [] { new PivotTableConditionalFormattingOptionProperty {
Cell = 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
| PivotTableConditionalFormattingProperty() | The conditional formatting for a |
Properties
| ConditionalFormattingOptions | Conditional formatting options for a |
Constructors
PivotTableConditionalFormattingProperty()
The conditional formatting for a PivotTableVisual .
public PivotTableConditionalFormattingProperty()
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 pivotTableConditionalFormattingProperty = new PivotTableConditionalFormattingProperty {
ConditionalFormattingOptions = new [] { new PivotTableConditionalFormattingOptionProperty {
Cell = 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
ConditionalFormattingOptions
Conditional formatting options for a PivotTableVisual .
public object? ConditionalFormattingOptions { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnTemplatePropsMixin.IPivotTableConditionalFormattingOptionProperty)[]