/// <summary> /// A "macro" that adds a set of controls or control as a single list item (li). Use ListItems.Add(UnsortedListItem) method. /// </summary> /// <remarks> /// All controls from the list will be rendered as a childs of a single list item. /// </remarks> public void AddListItem(params Control[] listItemControls) { var listItem = new DnnUnsortedListItem(); listItem.AddControls(listItemControls); this.ListItems.Add(listItem); }
/// <summary> /// A "macro" that adds a set of controls or control as a single list item (li). Use ListItems.Add(UnsortedListItem) method /// </summary> /// <remarks> /// All controls from the list will be rendered as a childs of a single list item. /// </remarks> public void AddListItem(params Control[] listItemControls) { var listItem = new DnnUnsortedListItem(); listItem.AddControls(listItemControls); ListItems.Add(listItem); }