Documentation > CMS Template API Library > Input > CurrentPanel
CurrentPanel
Get the PanelEntry object corresponding to the current iteration during a NextPanel loop
Type
CrownPeak.CMSAPI.PanelEntry
Code Example
C#
Sample:
while(Input.NextPanel("list_name"))
{
Out.WriteLine("Using CurrentPanel to get a value on current panel : " + Input.CurrentPanel["property_name"]);
Input.ShowTextBox("Name", "folder_label");
}