Class CfnForm.SectionalElementProperty
The SectionalElement property specifies the configuration information for a visual helper element for a form.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.AmplifyUIBuilder
Assembly: Amazon.CDK.AWS.AmplifyUIBuilder.dll
Syntax (csharp)
public class SectionalElementProperty : Object, CfnForm.ISectionalElementProperty
Syntax (vb)
Public Class SectionalElementProperty
Inherits Object
Implements CfnForm.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
Constructors
| SectionalElementProperty() |
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. |
Constructors
SectionalElementProperty()
public SectionalElementProperty()
Properties
Excluded
CfnForm.SectionalElementProperty.Excluded.
public object Excluded { get; set; }
Property Value
System.Object
Remarks
Level
Specifies the size of the font for a Heading sectional element.
public Nullable<double> Level { get; set; }
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.
public string Orientation { get; set; }
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.
public object Position { get; set; }
Property Value
System.Object
Remarks
Text
The text for a Text sectional element.
public string Text { get; set; }
Property Value
System.String
Remarks
Type
The type of sectional element.
public string Type { get; set; }
Property Value
System.String
Remarks
Valid values are Heading , Text , and Divider .