Interface CfnTemplate.ITextConditionalFormatProperty
The conditional formatting for the text.
Namespace: Amazon.CDK.AWS.QuickSight
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ITextConditionalFormatProperty
Syntax (vb)
Public Interface ITextConditionalFormatProperty
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 textConditionalFormatProperty = 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
Properties
Background |
The conditional formatting for the text background color. |
Icon | The conditional formatting for the icon. |
Text |
The conditional formatting for the text color. |
Properties
BackgroundColor
The conditional formatting for the text background color.
virtual object BackgroundColor { get; }
Property Value
System.
Remarks
Icon
The conditional formatting for the icon.
virtual object Icon { get; }
Property Value
System.
Remarks
TextColor
The conditional formatting for the text color.
virtual object TextColor { get; }
Property Value
System.