Class CfnDashboardPropsMixin.TextConditionalFormatProperty
The conditional formatting for the text.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.QuickSight.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnDashboardPropsMixin.TextConditionalFormatProperty : CfnDashboardPropsMixin.ITextConditionalFormatProperty
Syntax (vb)
Public Class CfnDashboardPropsMixin.TextConditionalFormatProperty Implements CfnDashboardPropsMixin.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.Mixins.Preview.AWS.QuickSight.Mixins;
var textConditionalFormatProperty = new TextConditionalFormatProperty {
BackgroundColor = new ConditionalFormattingColorProperty {
Gradient = new ConditionalFormattingGradientColorProperty {
Color = new GradientColorProperty {
Stops = new [] { new GradientStopProperty {
Color = "color",
DataValue = 123,
GradientOffset = 123
} }
},
Expression = "expression"
},
Solid = new ConditionalFormattingSolidColorProperty {
Color = "color",
Expression = "expression"
}
},
Icon = new ConditionalFormattingIconProperty {
CustomCondition = new ConditionalFormattingCustomIconConditionProperty {
Color = "color",
DisplayConfiguration = new ConditionalFormattingIconDisplayConfigurationProperty {
IconDisplayOption = "iconDisplayOption"
},
Expression = "expression",
IconOptions = new ConditionalFormattingCustomIconOptionsProperty {
Icon = "icon",
UnicodeIcon = "unicodeIcon"
}
},
IconSet = new ConditionalFormattingIconSetProperty {
Expression = "expression",
IconSetType = "iconSetType"
}
},
TextColor = new ConditionalFormattingColorProperty {
Gradient = new ConditionalFormattingGradientColorProperty {
Color = new GradientColorProperty {
Stops = new [] { new GradientStopProperty {
Color = "color",
DataValue = 123,
GradientOffset = 123
} }
},
Expression = "expression"
},
Solid = new ConditionalFormattingSolidColorProperty {
Color = "color",
Expression = "expression"
}
}
};
Synopsis
Constructors
| TextConditionalFormatProperty() | The conditional formatting for the text. |
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()
The conditional formatting for the text.
public TextConditionalFormatProperty()
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.Mixins.Preview.AWS.QuickSight.Mixins;
var textConditionalFormatProperty = new TextConditionalFormatProperty {
BackgroundColor = new ConditionalFormattingColorProperty {
Gradient = new ConditionalFormattingGradientColorProperty {
Color = new GradientColorProperty {
Stops = new [] { new GradientStopProperty {
Color = "color",
DataValue = 123,
GradientOffset = 123
} }
},
Expression = "expression"
},
Solid = new ConditionalFormattingSolidColorProperty {
Color = "color",
Expression = "expression"
}
},
Icon = new ConditionalFormattingIconProperty {
CustomCondition = new ConditionalFormattingCustomIconConditionProperty {
Color = "color",
DisplayConfiguration = new ConditionalFormattingIconDisplayConfigurationProperty {
IconDisplayOption = "iconDisplayOption"
},
Expression = "expression",
IconOptions = new ConditionalFormattingCustomIconOptionsProperty {
Icon = "icon",
UnicodeIcon = "unicodeIcon"
}
},
IconSet = new ConditionalFormattingIconSetProperty {
Expression = "expression",
IconSetType = "iconSetType"
}
},
TextColor = new ConditionalFormattingColorProperty {
Gradient = new ConditionalFormattingGradientColorProperty {
Color = new GradientColorProperty {
Stops = new [] { new GradientStopProperty {
Color = "color",
DataValue = 123,
GradientOffset = 123
} }
},
Expression = "expression"
},
Solid = new ConditionalFormattingSolidColorProperty {
Color = "color",
Expression = "expression"
}
}
};
Properties
BackgroundColor
The conditional formatting for the text background color.
public object? BackgroundColor { get; set; }
Property Value
Remarks
Icon
The conditional formatting for the icon.
public object? Icon { get; set; }
Property Value
Remarks
TextColor
The conditional formatting for the text color.
public object? TextColor { get; set; }