Interface CfnComponent.IComponentVariantProperty
The ComponentVariant property specifies the style configuration of a unique variation of a main component.
Namespace: Amazon.CDK.AWS.AmplifyUIBuilder
Assembly: Amazon.CDK.AWS.AmplifyUIBuilder.dll
Syntax (csharp)
public interface IComponentVariantProperty
Syntax (vb)
Public Interface IComponentVariantProperty
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.AmplifyUIBuilder;
var overrides;
var componentVariantProperty = new ComponentVariantProperty {
Overrides = overrides,
VariantValues = new Dictionary<string, string> {
{ "variantValuesKey", "variantValues" }
}
};
Synopsis
Properties
| Overrides | The properties of the component variant that can be overriden when customizing an instance of the component. |
| VariantValues | The combination of variants that comprise this variant. |
Properties
Overrides
The properties of the component variant that can be overriden when customizing an instance of the component.
virtual object Overrides { get; }
Property Value
System.Object
Remarks
You can't specify tags as a valid property for overrides .
VariantValues
The combination of variants that comprise this variant.
virtual object VariantValues { get; }
Property Value
System.Object