Class ListViewModel
- Namespace
- Dynamicweb.Frontend
- Assembly
- Dynamicweb.dll
public class ListViewModel : ViewModelBase
- Inheritance
-
ListViewModel
- Inherited Members
Constructors
ListViewModel()
Initializes a new instance of the ListViewModel class.
public ListViewModel()
Properties
Options
Gets or sets a list of ListOptionViewModel with all options.
public IList<ListOptionViewModel> Options { get; set; }
Property Value
- IList<ListOptionViewModel>
- List of ListOptionViewModels.
SelectedName
Gets a csv string with selected names.
public string SelectedName { get; }
Property Value
- string
- String with selected names.
SelectedNames
Gets IEnumerable of selected names.
public IEnumerable<string> SelectedNames { get; }
Property Value
- IEnumerable<string>
- Selected names.
SelectedOptions
Gets a list of ListOptionViewModel where isselected = true.
public IList<ListOptionViewModel> SelectedOptions { get; }
Property Value
- IList<ListOptionViewModel>
- List of ListOptionViewModels.
SelectedValue
Gets a csv string with selected values.
public string SelectedValue { get; }
Property Value
- string
- String with selected values.
SelectedValues
Gets IEnumerable of selected values.
public IEnumerable<string> SelectedValues { get; }
Property Value
- IEnumerable<string>
- Selected values.
Methods
ToString()
Returns a csv string with selected names.
public override string ToString()