Class UnboundFieldDescriptorCollection
A collection of FieldDescriptor fields with unbound fields. An instance of this collection is returned by the UnboundFields property of a TableDescriptor.
Implements
Inherited Members
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public class UnboundFieldDescriptorCollection : FieldDescriptorCollection, IDisposable, IList, ICollection, IEnumerable, IInsideCollectionEditorProperty, ICloneable, ICustomTypeDescriptor
Constructors
UnboundFieldDescriptorCollection()
Initializes a new instance for UnboundFieldDescriptorCollection class.
Declaration
public UnboundFieldDescriptorCollection()
Fields
Empty
A Read-only and empty collection.
Declaration
public static readonly UnboundFieldDescriptorCollection Empty
Field Value
Type |
---|
UnboundFieldDescriptorCollection |
Methods
CheckType(Object)
To avoid the unbound field as null when the unbound field descriptor is adding the values through CollectionEditor.
Declaration
protected override void CheckType(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | object value |
Overrides
CreateCollection(TableDescriptor, FieldDescriptor[])
Called from InternalClone to create a new collection and attach it to the specified table descriptor and insert the specified fields. The fields have already been cloned.
Declaration
protected override FieldDescriptorCollection CreateCollection(TableDescriptor td, FieldDescriptor[] fieldDescriptors)
Parameters
Type | Name | Description |
---|---|---|
TableDescriptor | td | The table descriptor. |
FieldDescriptor[] | fieldDescriptors | The cloned field descriptors. |
Returns
Type | Description |
---|---|
FieldDescriptorCollection | A new FieldDescriptorCollection. |
Overrides
EnsureInitialized(Boolean)
Ensures the collection is initialized and auto-populates the collection on demand.
Declaration
protected override void EnsureInitialized(bool populate)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | populate | True if collection should auto-populate itself based on properties of the underlying data source. |
Overrides
SuggestName(FieldDescriptor)
Suggest the default name for unbound field descriptor.
Declaration
protected override void SuggestName(FieldDescriptor value)
Parameters
Type | Name | Description |
---|---|---|
FieldDescriptor | value | The field descriptor value. |