Interface CfnForm.ISectionalElementProperty
The SectionalElement property specifies the configuration information for a visual helper element for a form.
Namespace: Amazon.CDK.AWS.AmplifyUIBuilder
Assembly: Amazon.CDK.AWS.AmplifyUIBuilder.dll
Syntax (csharp)
public interface ISectionalElementProperty
Syntax (vb)
Public Interface ISectionalElementProperty
Remarks
A sectional element can be a header, a text block, or a divider. These elements are static and not associated with any data.
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 sectionalElementProperty = new SectionalElementProperty {
Type = "type",
// the properties below are optional
Excluded = false,
Level = 123,
Orientation = "orientation",
Position = new FieldPositionProperty {
Below = "below",
Fixed = "fixed",
RightOf = "rightOf"
},
Text = "text"
};
Synopsis
Properties
| Excluded |
|
| Level | Specifies the size of the font for a |
| Orientation | Specifies the orientation for a |
| Position | Specifies the position of the text in a field for a |
| Text | The text for a |
| Type | The type of sectional element. |
Properties
Excluded
CfnForm.SectionalElementProperty.Excluded.
virtual object Excluded { get; }
Property Value
System.Object
Remarks
Level
Specifies the size of the font for a Heading sectional element.
virtual Nullable<double> Level { get; }
Property Value
System.Nullable<System.Double>
Remarks
Valid values are 1 | 2 | 3 | 4 | 5 | 6 .
Orientation
Specifies the orientation for a Divider sectional element.
virtual string Orientation { get; }
Property Value
System.String
Remarks
Valid values are horizontal or vertical .
Position
Specifies the position of the text in a field for a Text sectional element.
virtual object Position { get; }
Property Value
System.Object
Remarks
Text
The text for a Text sectional element.
virtual string Text { get; }
Property Value
System.String
Remarks
Type
The type of sectional element.
string Type { get; }
Property Value
System.String
Remarks
Valid values are Heading , Text , and Divider .