Table of Contents

Class ListItem

Namespace
Dynamicweb.Content.Items.Editors
Assembly
Dynamicweb.dll
Represents a list item.
public class ListItem
Inheritance
ListItem
Inherited Members

Constructors

ListItem()

Initializes a new instance of an object.
public ListItem()

ListItem(string, object)

Initializes a new instance of an object.
public ListItem(string name, object value)

Parameters

name string
List item name.
value object
List item value.

ListItem(string, object, bool)

Initializes a new instance of an object.
public ListItem(string name, object value, bool selected)

Parameters

name string
List item name.
value object
List item value.
selected bool
Value indicating whether item is selected.

ListItem(string, object, string)

Initializes a new instance of an object.
public ListItem(string name, object value, string icon)

Parameters

name string
List item name.
value object
List item value.
icon string
List item icon.

ListItem(string, object, string, bool)

Initializes a new instance of an object.
public ListItem(string name, object value, string icon, bool selected)

Parameters

name string
List item name.
value object
List item value.
icon string
List item icon.
selected bool
Value indicating whether item is selected.

Properties

Icon

Gets or sets the list item icon.
public string Icon { get; set; }

Property Value

string

Name

Gets or sets the list item name.
public string Name { get; set; }

Property Value

string

Selected

Gets or sets value indicating whether list item is selected.
public bool Selected { get; set; }

Property Value

bool

Value

Gets or sets the list item value.
public object Value { get; set; }

Property Value

object
To top