Interface CfnComponent.IComponentDataConfigurationProperty
The ComponentDataConfiguration property specifies the configuration for binding a component's properties to data.
Namespace: Amazon.CDK.AWS.AmplifyUIBuilder
Assembly: Amazon.CDK.AWS.AmplifyUIBuilder.dll
Syntax (csharp)
public interface IComponentDataConfigurationProperty
Syntax (vb)
Public Interface IComponentDataConfigurationProperty
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;
PredicateProperty predicateProperty_;
var componentDataConfigurationProperty = new ComponentDataConfigurationProperty {
Model = "model",
// the properties below are optional
Identifiers = new [] { "identifiers" },
Predicate = new PredicateProperty {
And = new [] { predicateProperty_ },
Field = "field",
Operand = "operand",
Operator = "operator",
Or = new [] { predicateProperty_ }
},
Sort = new [] { new SortPropertyProperty {
Direction = "direction",
Field = "field"
} }
};
Synopsis
Properties
| Identifiers | A list of IDs to use to bind data to a component. |
| Model | The name of the data model to use to bind data to a component. |
| Predicate | Represents the conditional logic to use when binding data to a component. |
| Sort | Describes how to sort the component's properties. |
Properties
Identifiers
A list of IDs to use to bind data to a component.
virtual string[] Identifiers { get; }
Property Value
System.String[]
Remarks
Use this property to bind specifically chosen data, rather than data retrieved from a query.
Model
The name of the data model to use to bind data to a component.
string Model { get; }
Property Value
System.String
Remarks
Predicate
Represents the conditional logic to use when binding data to a component.
virtual object Predicate { get; }
Property Value
System.Object
Remarks
Use this property to retrieve only a subset of the data in a collection.
Sort
Describes how to sort the component's properties.
virtual object Sort { get; }
Property Value
System.Object