Table of Contents

Class FormFieldOptionCollection

Namespace
Dynamicweb.DataManagement
Assembly
Dynamicweb.DataManagement.dll

Represents collection of FormField options

[Serializable]
public class FormFieldOptionCollection : List<FormFieldOption>, IList<FormFieldOption>, ICollection<FormFieldOption>, IReadOnlyList<FormFieldOption>, IReadOnlyCollection<FormFieldOption>, IEnumerable<FormFieldOption>, IList, ICollection, IEnumerable
Inheritance
FormFieldOptionCollection
Implements
Inherited Members
Extension Methods

Methods

RemoveById(int)

Removes element with specific id from inner collection

public void RemoveById(int id)

Parameters

id int

ID of element to be removed

Sort(SortBy)

Sorts inner collection

public void Sort(FormFieldOptionCollection.SortBy sortBy)

Parameters

sortBy FormFieldOptionCollection.SortBy

Column to be used for sorting

Sort(SortBy, bool)

Sorts inner collection

public void Sort(FormFieldOptionCollection.SortBy sortBy, bool ascending)

Parameters

sortBy FormFieldOptionCollection.SortBy

Column to be used for sorting

ascending bool

Direction of sorting

See Also

List<T>
To top