Class CfnTemplate.KPIPrimaryValueConditionalFormattingProperty
The conditional formatting for the primary value of a KPI visual.
Inherited Members
Namespace: Amazon.CDK.AWS.QuickSight
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTemplate.KPIPrimaryValueConditionalFormattingProperty : CfnTemplate.IKPIPrimaryValueConditionalFormattingProperty
Syntax (vb)
Public Class CfnTemplate.KPIPrimaryValueConditionalFormattingProperty 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
KPIPrimaryValueConditionalFormattingProperty() | The conditional formatting for the primary value of a KPI visual. |
Properties
Icon | The conditional formatting of the primary value's icon. |
TextColor | The conditional formatting of the primary value's text color. |
Constructors
KPIPrimaryValueConditionalFormattingProperty()
The conditional formatting for the primary value of a KPI visual.
public KPIPrimaryValueConditionalFormattingProperty()
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"
}
}
};
Properties
Icon
The conditional formatting of the primary value's icon.
public object? Icon { get; set; }
Property Value
Remarks
TextColor
The conditional formatting of the primary value's text color.
public object? TextColor { get; set; }