Class CfnForm.ValueMappingsProperty
The ValueMappings
property specifies the data binding configuration for a value map.
Inheritance
System.Object
CfnForm.ValueMappingsProperty
Implements
Namespace: Amazon.CDK.AWS.AmplifyUIBuilder
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ValueMappingsProperty : Object, CfnForm.IValueMappingsProperty
Syntax (vb)
Public Class ValueMappingsProperty
Inherits Object
Implements CfnForm.IValueMappingsProperty
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;
FormInputValuePropertyProperty formInputValuePropertyProperty_;
var valueMappingsProperty = new ValueMappingsProperty {
Values = new [] { new ValueMappingProperty {
Value = new FormInputValuePropertyProperty {
BindingProperties = new FormInputValuePropertyBindingPropertiesProperty {
Property = "property",
// the properties below are optional
Field = "field"
},
Concat = new [] { formInputValuePropertyProperty_ },
Value = "value"
},
// the properties below are optional
DisplayValue = new FormInputValuePropertyProperty {
BindingProperties = new FormInputValuePropertyBindingPropertiesProperty {
Property = "property",
// the properties below are optional
Field = "field"
},
Concat = new [] { formInputValuePropertyProperty_ },
Value = "value"
}
} },
// the properties below are optional
BindingProperties = new Dictionary<string, object> {
{ "bindingPropertiesKey", new FormInputBindingPropertiesValueProperty {
BindingProperties = new FormInputBindingPropertiesValuePropertiesProperty {
Model = "model"
},
Type = "type"
} }
}
};
Synopsis
Constructors
ValueMappingsProperty() |
Properties
BindingProperties | The information to bind fields to data at runtime. |
Values | The value and display value pairs. |
Constructors
ValueMappingsProperty()
public ValueMappingsProperty()
Properties
BindingProperties
The information to bind fields to data at runtime.
public object BindingProperties { get; set; }
Property Value
System.Object
Remarks
Values
The value and display value pairs.
public object Values { get; set; }
Property Value
System.Object