ChangeContentTypeFormControlProperties Type

The Change Content Type control enables users to change the content type for a list item in a SharePoint list where there are multiple content types on that list. It populates itself based on the context of the list. At runtime it relies on the form being run in edit full desktop mode and hence will not work when running in mobile mode.

This topic describes the syntax of the FormControlProperty complex element with the type attribute of ChangeContentTypeFormControlProperties.

Syntax


<d2p1:FormControlProperties xmlns:d2p1="http://schemas.datacontract.org/2004/07/Nintex.Forms.SharePoint.FormControls" i:type="d2p1:ChangeContentTypeFormControlProperties">
     <d2p1:Border />
     <d2p1:BorderColor>#000000</d2p1:BorderColor>
     <d2p1:BorderStyle>Solid</d2p1:BorderStyle>
     <d2p1:BorderWidth>2</d2p1:BorderWidth>
     <d2p1:CanResizeAtRuntime>true</d2p1:CanResizeAtRuntime>
     <d2p1:ControlVersion>101.1.1.0</d2p1:ControlVersion>
     <d2p1:CssClass i:nil="true" />
     <d2p1:DisplayName>Change Content Type</d2p1:DisplayName>
     <d2p1:FormControlTypeUniqueId>ff9f65fe-f979-4312-a35b-50f0d3769069</d2p1:FormControlTypeUniqueId>
     <d2p1:FormType>ListForm</d2p1:FormType>
     <d2p1:InRepeater>false</d2p1:InRepeater>
     <d2p1:InsertReferences xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
     <d2p1:InternalPropertyBag xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
     <d2p1:IsDirty>false</d2p1:IsDirty>
     <d2p1:IsLocked>false</d2p1:IsLocked>
     <d2p1:IsVisible>true</d2p1:IsVisible>
     <d2p1:PaddingWidth>0</d2p1:PaddingWidth>
     <d2p1:TabIndex>0</d2p1:TabIndex>
     <d2p1:UniqueId>c74f1647-2fe0-4422-bc7b-f8a974852768</d2p1:UniqueId>
     <d2p1:VariableSource>Unspecified</d2p1:VariableSource>
     <d2p1:VerticalAlign>NotSet</d2p1:VerticalAlign>
     <d2p1:BackgroundColor i:nil="true" />
     <d2p1:Bold>false</d2p1:Bold>
     <d2p1:FontColor i:nil="true" />
     <d2p1:FontFamily i:nil="true" />
     <d2p1:FontFamilyItemId i:nil="true" />
     <d2p1:FontSize i:nil="true" />
     <d2p1:FontSizeItemId i:nil="true" />
     <d2p1:HorizontalAlignment>NotSet</d2p1:HorizontalAlignment>
     <d2p1:Italics>false</d2p1:Italics>
     <d2p1:StrikeThrough>false</d2p1:StrikeThrough>
     <d2p1:ThemeClass i:nil="true" />
     <d2p1:Underline>false</d2p1:Underline>
     <d2p1:Name i:nil="true" />
</d2p1:FormControlProperties>

        

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/FormControls
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
Border String   1..1

The line style. Values include: Bottom, Left, Right, and Top.

BorderColor String   1..1

The color of the line.

BorderStyle String   1..1

The line style. Values include: Dashed, Dotted, Double, Groove, Inset, None, None, NotSet, Outset, Ridge, and Solid. For more information see the base enumeration documentation on MSDN.

BorderWidth String   1..1

The width of the line in pixels.

CanResizeAtRuntime String   1..1

Indicates if the control can resize at run time.

ControlVersion String   1..1

The version number of the control.

CssClass String   1..1

The CSS class.

DisplayName String   1..1

The display name.

FormControlTypeUniqueId String   1..1

The form control type unique id.

FormType String   1..1

The type of the form.

InRepeater String   1..1

Value is true if in repeater; otherwise, false.

InsertReferences String   1..1

The insert references.

InternalPropertyBag String   1..1

The internal property bag.

IsDirty String   1..1

True if the object is dirty; otherwise, false. The value indicating whether the control exists in any layout. If this flag is set then it is safe to delete the control from the list.

IsLocked String   1..1

True if this instance is locked; otherwise, false.

IsVisible String   1..1

True if this instance is visible; otherwise, false.

PaddingWidth String   1..1

The width of the padding.

TabIndex String   1..1

The index of the tab.

UniqueId String   1..1

The unique id. For more information see "Guid Structure" on MSDN/

VariableSource String   1..1

The source. Values include: External, SharePoint, Unspecified, and Workflow.

VerticalAlign String   1..1

The width of the padding. Valid values include:

  • Bottom

    Text or object is aligned with the bottom of the enclosing control.

  • Middle

    Text or object is aligned with the center of the enclosing control.

  • NotSet

    Vertical alignment is not set.

  • Top

    Text or object is aligned with the top of the enclosing control.

BackgroundColor String   1..1

The color of the background.

Bold String   1..1

True if bold; otherwise, false.

FontColor String   1..1

The color of the font.

FontFamily String   1..1

The font family.

FontFamilyItemId String   1..1

The font family item id.

FontSize String   1..1

The size of the font.

FontSizeItemId String   1..1

The font size item id.

HorizontalAlignment String   1..1

The horizontal alignment. Values include: Center, Justify, Left, NotSet, and Right. For more information, see "Horizontal Enumeration" in MSDN.

Italics String   1..1

True if italics; otherwise, false.

StrikeThrough String   1..1

True if [strike through]; otherwise, false.

ThemeClass String   1..1

The theme class.

Underline String   1..1

True if use custom validation; otherwise, false.

Name String   1..1

The name of the control.

Example

The following example contains an example of the complex element.



<d2p1:FormControlProperties xmlns:d2p1="http://schemas.datacontract.org/2004/07/Nintex.Forms.SharePoint.FormControls" i:type="d2p1:ChangeContentTypeFormControlProperties">
     <d2p1:Border />
     <d2p1:BorderColor>#000000</d2p1:BorderColor>
     <d2p1:BorderStyle>Solid</d2p1:BorderStyle>
     <d2p1:BorderWidth>2</d2p1:BorderWidth>
     <d2p1:CanResizeAtRuntime>true</d2p1:CanResizeAtRuntime>
     <d2p1:ControlVersion>101.1.1.0</d2p1:ControlVersion>
     <d2p1:CssClass i:nil="true" />
     <d2p1:DisplayName>Change Content Type</d2p1:DisplayName>
     <d2p1:FormControlTypeUniqueId>ff9f65fe-f979-4312-a35b-50f0d3769069</d2p1:FormControlTypeUniqueId>
     <d2p1:FormType>ListForm</d2p1:FormType>
     <d2p1:InRepeater>false</d2p1:InRepeater>
     <d2p1:InsertReferences xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
     <d2p1:InternalPropertyBag xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
     <d2p1:IsDirty>false</d2p1:IsDirty>
     <d2p1:IsLocked>false</d2p1:IsLocked>
     <d2p1:IsVisible>true</d2p1:IsVisible>
     <d2p1:PaddingWidth>0</d2p1:PaddingWidth>
     <d2p1:TabIndex>0</d2p1:TabIndex>
     <d2p1:UniqueId>c74f1647-2fe0-4422-bc7b-f8a974852768</d2p1:UniqueId>
     <d2p1:VariableSource>Unspecified</d2p1:VariableSource>
     <d2p1:VerticalAlign>NotSet</d2p1:VerticalAlign>
     <d2p1:BackgroundColor i:nil="true" />
     <d2p1:Bold>false</d2p1:Bold>
     <d2p1:FontColor i:nil="true" />
     <d2p1:FontFamily i:nil="true" />
     <d2p1:FontFamilyItemId i:nil="true" />
     <d2p1:FontSize i:nil="true" />
     <d2p1:FontSizeItemId i:nil="true" />
     <d2p1:HorizontalAlignment>NotSet</d2p1:HorizontalAlignment>
     <d2p1:Italics>false</d2p1:Italics>
     <d2p1:StrikeThrough>false</d2p1:StrikeThrough>
     <d2p1:ThemeClass i:nil="true" />
     <d2p1:Underline>false</d2p1:Underline>
     <d2p1:Name i:nil="true" />
</d2p1:FormControlProperties>


        

Related information

Form XML Complex Elements