Working with the ConfigurationSectionHeader control
The ConfigurationSectionHeader control provides a single row with a single column, so that other controls and elements in the parent template control can be presented as subsections.
Registering the control
The following Register directive registers the ConfigurationSectionHeader control for use on a configuration page.
<%@ Register TagPrefix="Nintex" TagName="ConfigurationSectionHeader" src="~/_layouts/15/NintexWorkflow/ConfigurationSectionHeader.ascx" %>
Declaring the control
The following example illustrates how to add a ConfigurationSectionHeader control to a ConfigurationPropertySection control on a configuration page.
<Nintex:ConfigurationPropertySection runat="server" Id="MainControls1"> <TemplateRowsArea> ... <Nintex:ConfigurationSectionHeader runat="server" FieldTitle="Heading" /> ... </TemplateRowsArea> </Nintex:ConfigurationPropertySection>
Implementing the control
The ConfigurationSectionHeader control provides a single row with a single column, in which the title is displayed within an <h2> element, as shown in the following example. This control can be used to provide a separator between logical groups of controls within a container.
The appearance of the control can be adjusted in the following ways:
-
The title of the control can be set in the FieldTitle property.
-
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.
See Also
Concepts
Operations
Working with configuration pages
Implementing template controls