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
ListItem(string, object?, bool)
Initializes a new instance of an object.
public ListItem(string name, object? value, bool selected)
Parameters
namestringList item name.
valueobjectList item value.
selectedboolValue 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
ListItem(string, object?, string, bool)
Initializes a new instance of an object.
public ListItem(string name, object? value, string icon, bool selected)
Parameters
namestringList item name.
valueobjectList item value.
iconstringList item icon.
selectedboolValue indicating whether item is selected.
Properties
Icon
Gets or sets the list item icon.
public string Icon { get; set; }
Property Value
Name
Gets or sets the list item name.
public string Name { get; set; }
Property Value
Selected
Gets or sets value indicating whether list item is selected.
public bool Selected { get; set; }
Property Value
Value
Gets or sets the list item value.
public object? Value { get; set; }