/// <summary> /// Add a new accordion item to the container /// </summary> /// <returns></returns> public virtual AccordionItemBuilder Add() { AccordionItem item = new AccordionItem(); container.Items.Add(item); return new AccordionItemBuilder(item); }
/// <summary> /// Initializes a new instance of the <see cref="AccordionItemBuilder"/> class. /// </summary> /// <param name="item">The item.</param> public AccordionItemBuilder(AccordionItem item) { Guard.IsNotNull(item, "item"); this.item = item; }