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
intID of element to be removed
Sort(SortBy)
Sorts inner collection
public void Sort(FormFieldOptionCollection.SortBy sortBy)
Parameters
sortBy
FormFieldOptionCollection.SortByColumn to be used for sorting
Sort(SortBy, bool)
Sorts inner collection
public void Sort(FormFieldOptionCollection.SortBy sortBy, bool ascending)
Parameters
sortBy
FormFieldOptionCollection.SortByColumn to be used for sorting
ascending
boolDirection of sorting
See Also
List<T>