Form Layout complex element
The form layout specifies the width, height, grid, and visual elements of the form. The layout also contains the form control layout properties.
Syntax
<FormLayout>String</FormLayout>
<BackgroundColor>String</BackgroundColor>
<BackgroundImageRepeat>String</BackgroundImageRepeat>
<BackgroundImageUrl>String</BackgroundImageUrl>
<Bold>Boolean</Bold>
<DeviceName>String</DeviceName>
<DisplayName>String</DisplayName>
<FontColor>String</FontColor>
<FontFamily>String</FontFamily>
<FontFamilyItemId>String</FontFamilyItemId>
<FontSize>String</FontSize>
<FontSizeItemId>String</FontSizeItemId>
<FormControlLayouts/>
<GridCellHeight>Integer</GridCellHeight>
<GridCellWidth>Integer</GridCellWidth>
<Height>Integer</Height>
<HorizontalAlignment>String</HorizontalAlignment>
<IsMobileAppLayout>Boolean</IsMobileAppLayout>
<Italics>Boolean</Italics/>
<LayoutCssClass>String</LayoutCssClass>
<RedirectUrl>String</RedirectUrl>
<ShowRibbon>Boolean</ShowRibbon>
<SnapToGrid>Boolean</SnapToGrid>
<StrikeThrough>Boolean</StrikeThrough>
<TargetUserAgents/>
<ThemeClas/>String</ThemeClass>
<Title>String</Title>
<Underline>Boolean</Underline>
<Width>Integer</Width>
</FormLayout>
Element Characteristics
Characteristic | Description |
---|---|
Data type and length | String |
Default value | None |
Cardinality | 1..1: Required element that occurs only once. |
Element Attributes
Attribute | Description |
---|---|
Required. |
Relationships
Relationship | Element |
---|---|
Parent element | Form |
Child elements | See the child element table. |
Parent Element Namespace
Prefix | Namespace |
---|---|
d2p1 | http://schemas.datacontract.org/2004/07/Nintex.Forms.FormControls |
Parent Element
Attribute | Description |
---|---|
Required. |
Child Elements
Name | Data Type | Default value | Cardinality | Description |
---|---|---|---|---|
BackgroundColor | String | #e5e9ec | 1..1 | The color of the background. |
BackgroundImageRepeat | String | Repeat | 1..1 |
List of values: Inherit, NoRepeat, Repeat,RepeatX, RepeatY
|
BackgroundImageUrl | String | blank | 1..1 | URL of the background image. |
Bold | Boolean | false | 1..1 | True if bold; otherwise, false. |
DeviceName | String | Desktop | 1..1 | The title. |
DisplayName | String | Desktop | 1..1 | The title. |
FontColor | String | blank | 1..1 | The color of the font. |
FontFamily | String | blank | 1..1 | The font family. |
FontFamilyItemId | String | blank | 1..1 | The font family item id. |
FontSize | String | blank | 1..1 | The size of the font. |
FontSizeItemId | String | blank | 1..1 | The font size item id. |
FormControlLayouts | Complex Type | 1..* | The form control layouts. | |
GridCellHeight | Integer | 5 | 1..1 | The height of the grid cell in pixels. |
GridCellWidth | Integer | 5 | 1..1 | The width of the grid cell in pixels. |
Height | Integer | 600 | 1..1 | The height in pixels. |
HorizontalAlignment | String | Not Set | 1..1 |
The horizontal alignment options for items within a container. List of values: Center, Justify, Left, NotSet, and Right |
IsMobileAppLayout | Boolean | false | 1..1 | Indicating whether the layout is specific to the Nintex Mobile app. |
Italics | Boolean | false | 1..1 | True if italics; otherwise, false. |
LayoutCssClass | String | blank | 1..1 | The CSS class. |
RedirectUrl | String | blank | 1..1 | The redirect URL. |
ShowRibbon | Boolean | true | 1..1 | True if show ribbon; otherwise, false. |
SnapToGrid |
Boolean | true | 1..1 | True if snap to grid; otherwise, false. |
StrikeThrough | Boolean | false | 1..1 | True if [strike through]; otherwise, false. |
TargetUserAgents | Complex Type | 1..* | The target user agents. | |
ThemeClass | String | blank | 1..1 | The theme class. |
Title | String | Desktop | 1..1 | The title. |
Underline | Boolean | false | 1..1 | True if underline; otherwise, false. |
Width | Integer | 700 | 1..1 | The width. |
Notes
TargetUserAgents
Example
The following example contains an example of the complex element.
<FormLayout>
<BackgroundColor>#e5e9ec</BackgroundColor>
<BackgroundImageRepeat>Repeat</BackgroundImageRepeat>
<BackgroundImageUrl></BackgroundImageUrl>
<Bold>false</Bold>
<DeviceName>Desktop</DeviceName>
<DisplayName>Desktop</DisplayName>
<FontColor></FontColor>
<FontFamily></FontFamily>
<FontFamilyItemId i:nil="true" />
<FontSize></FontSize>
<FontSizeItemId i:nil="true" />
<FormControlLayouts></FormControlLayouts>
<GridCellHeight>5</GridCellHeight>
<GridCellWidth>5</GridCellWidth>
<Height>4000</Height>
<HorizontalAlignment>NotSet</HorizontalAlignment>
<IsMobileAppLayout>false</IsMobileAppLayout>
<Italics>false</Italics>
<LayoutCssClass></LayoutCssClass>
<RedirectUrl></RedirectUrl>
<ShowRibbon>true</ShowRibbon>
<SnapToGrid>true</SnapToGrid>
<StrikeThrough>false</StrikeThrough>
<TargetUserAgents xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string></d4p1:string>
</TargetUserAgents>
<ThemeClass></ThemeClass>
<Title>Desktop</Title>
<Underline>false</Underline>
<Width>700</Width>
</FormLayout>