Class CfnDashboard.PivotTableConditionalFormattingProperty
The conditional formatting for a PivotTableVisual
.
Inheritance
System.Object
CfnDashboard.PivotTableConditionalFormattingProperty
Namespace: Amazon.CDK.AWS.QuickSight
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PivotTableConditionalFormattingProperty : Object, CfnDashboard.IPivotTableConditionalFormattingProperty
Syntax (vb)
Public Class PivotTableConditionalFormattingProperty
Inherits Object
Implements CfnDashboard.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.AWS.QuickSight;
var pivotTableConditionalFormattingProperty = new PivotTableConditionalFormattingProperty {
ConditionalFormattingOptions = new [] { 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
PivotTableConditionalFormattingProperty() |
Properties
ConditionalFormattingOptions | Conditional formatting options for a |
Constructors
PivotTableConditionalFormattingProperty()
public PivotTableConditionalFormattingProperty()
Properties
ConditionalFormattingOptions
Conditional formatting options for a PivotTableVisual
.
public object ConditionalFormattingOptions { get; set; }
Property Value
System.Object