C# Class Open.Core.Lists.ListItem

An implementation of a TreeNode for inclusion within the ListTree control.
Inheritance: TreeNode, IListItem, IHtmlFactory
Datei anzeigen Open project: philcockfield/Open.TestHarness.SL Class Usage Examples

Public Methods

Method Description
Create ( string text ) : ListItem

Creates a new tree node (factory).

CreateHtml ( ) : string

Allows deriving classes to provide custom HTML for the item.

To reuse default behavior, use the following classes on child-elements of the returned HTML: - itemLabel: The display text of the item.

ToString ( ) : string

Protected Methods

Method Description
OnIsSelectedChanged ( ) : void

Method Details

Create() public static method

Creates a new tree node (factory).
public static Create ( string text ) : ListItem
text string The value of the 'Text' property.
return ListItem

CreateHtml() public method

Allows deriving classes to provide custom HTML for the item.
To reuse default behavior, use the following classes on child-elements of the returned HTML: - itemLabel: The display text of the item.
public CreateHtml ( ) : string
return string

OnIsSelectedChanged() protected method

protected OnIsSelectedChanged ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string