[]
        
(Showing Draft Content)

C1.C1Preview.DataBinding.FieldCollection

FieldCollection Class

Collection of Field objects.

Namespace: C1.C1Preview.DataBinding
Assembly: C1.PrintDocument.8.dll
Syntax
public class FieldCollection : NamedCollection, IList, ICollection, IEnumerable

Constructors

Name Description
FieldCollection(IFieldCollectionOwner)

Initializes a new instance of the FieldCollection class.

Properties

Name Description
AutoGenerated

Gets a value indicating whether the current collection was created automatically and was not changed by the user.

this[int]

Gets the element at the specified index.

this[string]

Gets the field with the specified name.

Owner

Gets the owner of the current collection.

Methods

Name Description
Add(Field)

Adds a new Field object to the current collection.

AssignFrom(OwnedCollectionBase)

Assigns (copies) properties from another FieldCollection to the current object.

OnClearComplete()

Called after the collection has been cleared. Sets AutoGenerated property to false.

OnInsertComplete(int, object)

Called after an item has been inserted. Sets AutoGenerated property to false.

OnRemoveComplete(int, object)

Called after an item has been removed. Sets AutoGenerated property to false.

OnSetComplete(int, object, object)

Called after an item has been set. Sets AutoGenerated property to false.