• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class DnnUnsortedList

Creates a control that renders its childs as a bulleted list.

Inheritance
System.Object
DnnUnsortedList
Implements
INamingContainer
Namespace: DotNetNuke.Web.UI.WebControls
Assembly: DotNetNuke.Web.dll
Syntax
public class DnnUnsortedList : WebControl
Remarks

Control renders an unordered list HTML contol. Each child control in DnnUnsortedList is rendered as a separate list item. To obtain a control over list item style, add a DnnUnsortedListItem to a controls list, and tune this object appropriately.

Constructors

| Improve this Doc View Source

DnnUnsortedList()

Initializes a new instance of the DnnUnsortedList class.

Declaration
public DnnUnsortedList()
Remarks

Control renders an unordered list HTML contol. Each child control in DnnUnsortedList is rendered as a separate list item. To obtain a control over list item style, add a DnnUnsortedListItem to a controls list, and tune this object appropriately.

Properties

| Improve this Doc View Source

ListItems

Creates a control that renders its childs as a bulleted list.

Declaration
public virtual UniformControlCollection<DnnUnsortedList, DnnUnsortedListItem> ListItems { get; }
Property Value
Type Description
UniformControlCollection<DnnUnsortedList, DnnUnsortedListItem>
Remarks

Control renders an unordered list HTML contol. Each child control in DnnUnsortedList is rendered as a separate list item. To obtain a control over list item style, add a DnnUnsortedListItem to a controls list, and tune this object appropriately.

Methods

| Improve this Doc View Source

AddAttributesToRender(HtmlTextWriter)

Creates a control that renders its childs as a bulleted list.

Declaration
protected override void AddAttributesToRender(HtmlTextWriter writer)
Parameters
Type Name Description
HtmlTextWriter writer
Remarks

Control renders an unordered list HTML contol. Each child control in DnnUnsortedList is rendered as a separate list item. To obtain a control over list item style, add a DnnUnsortedListItem to a controls list, and tune this object appropriately.

| Improve this Doc View Source

AddListItem(Control[])

A "macro" that adds a set of controls or control as a single list item (li). Use ListItems.Add(UnsortedListItem) method.

Declaration
public void AddListItem(params Control[] listItemControls)
Parameters
Type Name Description
Control[] listItemControls
Remarks

All controls from the list will be rendered as a childs of a single list item.

| Improve this Doc View Source

CreateControlCollection()

Creates a control that renders its childs as a bulleted list.

Declaration
protected sealed override ControlCollection CreateControlCollection()
Returns
Type Description
ControlCollection
Remarks

Control renders an unordered list HTML contol. Each child control in DnnUnsortedList is rendered as a separate list item. To obtain a control over list item style, add a DnnUnsortedListItem to a controls list, and tune this object appropriately.

Implements

INamingContainer

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS