Ext.Net.AccordionDesigner.GetDesignerRegionAttribute C# (CSharp) Method

GetDesignerRegionAttribute() private method

private GetDesignerRegionAttribute ( int index ) : string
index int
return string
        private string GetDesignerRegionAttribute(int index)
        {
            string name = "Toggle_{0}".FormatWith(index);
            designerRegions.Add(new DesignerRegion(this, name, false));

            return "{0}=\"{1}\"".FormatWith(DesignerRegion.DesignerRegionAttributeName, designerRegions.Count - 1);
        }