void AddSection() { var section = new AiForms.Renderers.Section("AddedSection"); section.Add( new LabelCell { Title = "AddCell", ValueText = "addcell", Description = "add cell in new section", HintText = "hint" } ); settings.Root.Add(section); }
Section CreateSection() { var sec = new AiForms.Renderers.Section() { Title = "Additional Section", FooterText = "Footer" }; sec.Add( new LabelCell { Title = "AddCell", ValueText = "addcell", Description = "add cell in new section", HintText = "hint" } ); return(sec); }