Class CfnTemplate.KPIPrimaryValueConditionalFormattingProperty
The conditional formatting for the primary value of a KPI visual.
Inheritance
Namespace: Amazon.CDK.AWS.QuickSight
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class KPIPrimaryValueConditionalFormattingProperty : Object, CfnTemplate.IKPIPrimaryValueConditionalFormattingProperty
Syntax (vb)
Public Class KPIPrimaryValueConditionalFormattingProperty
Inherits Object
Implements CfnTemplate.IKPIPrimaryValueConditionalFormattingProperty
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 kPIPrimaryValueConditionalFormattingProperty = new KPIPrimaryValueConditionalFormattingProperty {
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
KPIPrimary |
Properties
Icon | The conditional formatting of the primary value's icon. |
Text |
The conditional formatting of the primary value's text color. |
Constructors
KPIPrimaryValueConditionalFormattingProperty()
public KPIPrimaryValueConditionalFormattingProperty()
Properties
Icon
The conditional formatting of the primary value's icon.
public object Icon { get; set; }
Property Value
System.
Remarks
TextColor
The conditional formatting of the primary value's text color.
public object TextColor { get; set; }
Property Value
System.