Class CfnDashboard.PivotTableCellConditionalFormattingProperty
The cell conditional formatting option for a pivot table.
Inheritance
System.Object
CfnDashboard.PivotTableCellConditionalFormattingProperty
Namespace: Amazon.CDK.AWS.QuickSight
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PivotTableCellConditionalFormattingProperty : Object, CfnDashboard.IPivotTableCellConditionalFormattingProperty
Syntax (vb)
Public Class PivotTableCellConditionalFormattingProperty
Inherits Object
Implements CfnDashboard.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.AWS.QuickSight;
var pivotTableCellConditionalFormattingProperty = 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
PivotTableCellConditionalFormattingProperty() |
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()
public PivotTableCellConditionalFormattingProperty()
Properties
FieldId
The field ID of the cell for conditional formatting.
public string FieldId { get; set; }
Property Value
System.String
Remarks
Scope
The scope of the cell for conditional formatting.
public object Scope { get; set; }
Property Value
System.Object
Remarks
Scopes
A list of cell scopes for conditional formatting.
public object Scopes { get; set; }
Property Value
System.Object
Remarks
TextFormat
The text format of the cell for conditional formatting.
public object TextFormat { get; set; }
Property Value
System.Object