Documentation > CMS Template API Library > Input > StartExpandPanel(String)

StartExpandPanel

Creates an expand panel. The expand panel presents itself as a single gray line that when clicked reveals the set of input controls that it wraps. You must close the expand panel with an EndExpandPanel.

public System.Void StartExpandPanel(String)

Parameters

NameDescriptionType
label The label. System.String

Code Example

C#

Sample:

            
            Input.StartExpandPanel("Click To Show More Options");
            Input.ShowTextBox("Option One", "option_one", 50);
            Input.ShowTextBox("Option Two", "option_two", 50);
            Input.ShowTextBox("Option Three", "option_three", 50);
            Input.EndExpandPanel();
            
            

Connect with Crownpeak