Class CfnDashboard.TextConditionalFormatProperty
The conditional formatting for the text.
Inheritance
System.Object
CfnDashboard.TextConditionalFormatProperty
Implements
Namespace: Amazon.CDK.AWS.QuickSight
Assembly: Amazon.CDK.AWS.QuickSight.dll
Syntax (csharp)
public class TextConditionalFormatProperty : Object, CfnDashboard.ITextConditionalFormatProperty
Syntax (vb)
Public Class TextConditionalFormatProperty
Inherits Object
Implements CfnDashboard.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
Constructors
TextConditionalFormatProperty() |
Properties
BackgroundColor | The conditional formatting for the text background color. |
Icon | The conditional formatting for the icon. |
TextColor | The conditional formatting for the text color. |
Constructors
TextConditionalFormatProperty()
public TextConditionalFormatProperty()
Properties
BackgroundColor
The conditional formatting for the text background color.
public object BackgroundColor { get; set; }
Property Value
System.Object
Remarks
Icon
The conditional formatting for the icon.
public object Icon { get; set; }
Property Value
System.Object
Remarks
TextColor
The conditional formatting for the text color.
public object TextColor { get; set; }
Property Value
System.Object