A newer version of this page is available. Switch to the current version.

PersistentObjectStorage<T>.CreateCustomFields(T) Method

Creates the custom fields specific to this persistent object and adds them to the object's custom fields collection.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.Core.dll

Declaration

public virtual void CreateCustomFields(
    T obj
)

Parameters

Name Type Description
obj T

A PersistentObject for which to create custom fields.

Remarks

This method is intended for internal use.

If you need custom fields for your appointments or resources, you should specify the corresponding mappings. Use the Mappings Wizards or add the mappings via code.

To add mappings for custom fields, use the AppointmentCustomFieldMappingCollection.Add and ResourceCustomFieldMappingCollection.Add methods of appointment and resource collections, which are available via the AppointmentStorage.CustomFieldMappings and ResourceStorage.CustomFieldMappings properties respectively.

See Also