Class CfnAnalysis.TableConditionalFormattingProperty
The conditional formatting for a PivotTableVisual
.
Inheritance
System.Object
CfnAnalysis.TableConditionalFormattingProperty
Namespace: Amazon.CDK.AWS.QuickSight
Assembly: Amazon.CDK.AWS.QuickSight.dll
Syntax (csharp)
public class TableConditionalFormattingProperty : Object, CfnAnalysis.ITableConditionalFormattingProperty
Syntax (vb)
Public Class TableConditionalFormattingProperty
Inherits Object
Implements CfnAnalysis.ITableConditionalFormattingProperty
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 tableConditionalFormattingProperty = new TableConditionalFormattingProperty {
ConditionalFormattingOptions = new [] { new TableConditionalFormattingOptionProperty {
Cell = new TableCellConditionalFormattingProperty {
FieldId = "fieldId",
// the properties below are optional
TextFormat = 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"
}
}
}
},
Row = new TableRowConditionalFormattingProperty {
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"
}
},
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
TableConditionalFormattingProperty() |
Properties
ConditionalFormattingOptions | Conditional formatting options for a |
Constructors
TableConditionalFormattingProperty()
public TableConditionalFormattingProperty()
Properties
ConditionalFormattingOptions
Conditional formatting options for a PivotTableVisual
.
public object ConditionalFormattingOptions { get; set; }
Property Value
System.Object