示例#1
0
        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);
        }
示例#2
0
        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);
        }