C# Класс Open.Core.Controls.HtmlPrimitive.HtmlList

Renders an
    or
      .
      Наследование: ViewBase, IHtmlList
      Показать файл Открыть проект Примеры использования класса

      Открытые методы

      Метод Описание
      Add ( string text ) : jQueryObject

      Adds a new list item

    1. .

      AddElement ( jQueryObject element ) : jQueryObject

      Adds a new element within an

    2. item.

      Clear ( ) : void

      Removes all child LI items.

      HtmlList ( HtmlListType listType, string cssClass ) : System

      Constructor.

      Remove ( int index ) : void

      Removes the item at the given index.

      this ( int index ) : jQueryObject

      Gets the list-item at the given index.

      Приватные методы

      Метод Описание
      HtmlList ( ) : System
      InitHtml ( HtmlListType listType ) : jQueryObject

      Описание методов

      Add() публичный Метод

      Adds a new list item
    3. .
      public Add ( string text ) : jQueryObject
      text string The text to insert within the element.
      Результат jQueryObject

      AddElement() публичный Метод

      Adds a new element within an
    4. item.
      public AddElement ( jQueryObject element ) : jQueryObject
      element jQueryObject The element to add (within the LI).
      Результат jQueryObject

      Clear() публичный Метод

      Removes all child LI items.
      public Clear ( ) : void
      Результат void

      HtmlList() публичный Метод

      Constructor.
      public HtmlList ( HtmlListType listType, string cssClass ) : System
      listType HtmlListType The type of list to construct.
      cssClass string The CSS class attribute to add to the root list element (can be multiple classes).
      Результат System

      Remove() публичный Метод

      Removes the item at the given index.
      public Remove ( int index ) : void
      index int The index to remove.
      Результат void

      this() публичный Метод

      Gets the list-item at the given index.
      public this ( int index ) : jQueryObject
      index int
      Результат jQueryObject