C# Class Open.Core.Controls.HtmlPrimitive.HtmlList

Renders an
    or
      .
      Inheritance: ViewBase, IHtmlList
      Afficher le fichier Open project: philcockfield/Open.TestHarness.SL Class Usage Examples

      Méthodes publiques

      Méthode Description
      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.

      Private Methods

      Méthode Description
      HtmlList ( ) : System
      InitHtml ( HtmlListType listType ) : jQueryObject

      Method Details

      Add() public méthode

      Adds a new list item
    3. .
      public Add ( string text ) : jQueryObject
      text string The text to insert within the element.
      Résultat jQueryObject

      AddElement() public méthode

      Adds a new element within an
    4. item.
      public AddElement ( jQueryObject element ) : jQueryObject
      element jQueryObject The element to add (within the LI).
      Résultat jQueryObject

      Clear() public méthode

      Removes all child LI items.
      public Clear ( ) : void
      Résultat void

      HtmlList() public méthode

      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).
      Résultat System

      Remove() public méthode

      Removes the item at the given index.
      public Remove ( int index ) : void
      index int The index to remove.
      Résultat void

      this() public méthode

      Gets the list-item at the given index.
      public this ( int index ) : jQueryObject
      index int
      Résultat jQueryObject