Class CfnAnalysis.PivotTableConditionalFormattingOptionProperty
Conditional formatting options for a PivotTableVisual
.
Inheritance
Namespace: Amazon.CDK.AWS.QuickSight
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PivotTableConditionalFormattingOptionProperty : Object, CfnAnalysis.IPivotTableConditionalFormattingOptionProperty
Syntax (vb)
Public Class PivotTableConditionalFormattingOptionProperty
Inherits Object
Implements CfnAnalysis.IPivotTableConditionalFormattingOptionProperty
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.AWS.QuickSight;
var pivotTableConditionalFormattingOptionProperty = new PivotTableConditionalFormattingOptionProperty {
Cell = new PivotTableCellConditionalFormattingProperty {
FieldId = "fieldId",
// the properties below are optional
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 {
GradientOffset = 123,
// the properties below are optional
Color = "color",
DataValue = 123
} }
},
Expression = "expression"
},
Solid = new ConditionalFormattingSolidColorProperty {
Expression = "expression",
// the properties below are optional
Color = "color"
}
},
Icon = new ConditionalFormattingIconProperty {
CustomCondition = new ConditionalFormattingCustomIconConditionProperty {
Expression = "expression",
IconOptions = new ConditionalFormattingCustomIconOptionsProperty {
Icon = "icon",
UnicodeIcon = "unicodeIcon"
},
// the properties below are optional
Color = "color",
DisplayConfiguration = new ConditionalFormattingIconDisplayConfigurationProperty {
IconDisplayOption = "iconDisplayOption"
}
},
IconSet = new ConditionalFormattingIconSetProperty {
Expression = "expression",
// the properties below are optional
IconSetType = "iconSetType"
}
},
TextColor = new ConditionalFormattingColorProperty {
Gradient = new ConditionalFormattingGradientColorProperty {
Color = new GradientColorProperty {
Stops = new [] { new GradientStopProperty {
GradientOffset = 123,
// the properties below are optional
Color = "color",
DataValue = 123
} }
},
Expression = "expression"
},
Solid = new ConditionalFormattingSolidColorProperty {
Expression = "expression",
// the properties below are optional
Color = "color"
}
}
}
}
};
Synopsis
Constructors
Pivot |
Properties
Cell | The cell conditional formatting option for a pivot table. |
Constructors
PivotTableConditionalFormattingOptionProperty()
public PivotTableConditionalFormattingOptionProperty()
Properties
Cell
The cell conditional formatting option for a pivot table.
public object Cell { get; set; }
Property Value
System.