Working with the SingleColumnConfigurationProperty control
The SingleColumnConfigurationProperty template control renders a single row that spans the width of its parent template control.
Registering the control
The following Register directive registers the SingleColumnConfigurationProperty control for use on a configuration page.
<%@ Register TagPrefix="Nintex" TagName="SingleColumnConfigurationProperty" src="~/_layouts/15/NintexWorkflow/SingleColumnConfigurationProperty.ascx" %>
Declaring the control
The following example illustrates how to add a SingleColumnConfigurationProperty control to a ConfigurationPropertySection control on a configuration page.
<Nintex:ConfigurationPropertySection runat="server" Id="MainControls1"> <TemplateRowsArea> ... <Nintex:SingleColumnConfigurationProperty runat="server"> <TemplateControlArea> ... </TemplateControlArea> </Nintex:SingleColumnConfigurationProperty> ... </TemplateRowsArea> </Nintex:ConfigurationPropertySection>
Implementing the control
The SingleColumnConfigurationProperty template control renders a single row that spans the width of its container, as shown in the following example. This control presents only the controls contained in its TemplateControlArea collection.
The appearance of the control can be adjusted in the following ways:
-
The description of the control can be set in the FieldDescription property.
-
The CSS style attributes used to style the row can be specified in the Style property.
-
The CSS style attributes used to style the cell can be specified in the TdStyle property.
-
Setting the Collapsable property to true allows the row to be collapsed and expanded, similar in functionality to the CollapsableConfigurationProperty control. By default, the property is set to false.
See Also
Concepts
Operations
Working with configuration pages
Implementing template controls