Status Mappings
- 2 minutes to read
The table below lists mappings for Statuses.
Name | Type | Required? | Description |
---|---|---|---|
Object (any type) | Yes | The unique Status ID. Specifies the User | |
See description | No | A brush or color that specifies the Status appearance. Specifies the Appointment
| |
String | No | The primary Status name. Specifies the User | |
String | No | The secondary Status name. Specifies the User You can map this and the Display |
#Troubleshooting
#Error in the Brush mapping (ActualMappingException)
The following error can occur if the SchedulerDataStorage.Statuses.BrushSaving
property is set incorrectly:
DevExpress.XtraScheduler.Internal.ActualMappingException
HResult=0x80131500
Message=Error in the Brush mapping
...
Inner Exception 1:
InvalidCastException: Unable to cast object of type 'System.Drawing.SolidBrush' to type 'System.IConvertible'.
#Fix
Set the SchedulerDataStorage.Statuses.BrushSaving
property to StatusMappingInfo.Brush.