TcxSchedulerDBStorageFieldNames.Options Property
In This Article
Maps all user event state properties to the dataset field where the corresponding bitwise flags are stored.
#Declaration
Delphi
property Options: TcxFieldName index 6 read; write;
#Property Value
Type | Description |
---|---|
Tcx |
The name of the dataset field that stores all event states as bitwise flags within integer values. |
#Remarks
Use the Options
property to bind the following state properties of user events to an integer dataset field to store them as bitwise flags within integer values:
- AllDayEvent
- Specifies whether the user event is an all-day event (an event that lasts at least 24 hours or longer).
- Enabled
- This property is used as a custom property.
- IsGroup
- Specifies the task as a task group in the Gantt View.
- Reminder
- Specifies whether the reminder is on or off.
- Expanded
- Specifies whether the predecessor task is expanded.
Every integer value stored in the bound dataset field stores values of all listed properties as bitwise flags.
#Example
Note
You need to bind the Options
property to the corresponding dataset field to be able to store user events in a data-aware scheduler storage component. The bound dataset field must meet the following requirements:
- The field type is TInteger
Field . - The
NULL
value is allowed for the field if a user event’s EventType property is set toet
.Custom
The Options
property’s default value is an empty string.
See Also