private void SetupCustomFields() { SchedulerCustomFieldMapping groupIdMapping = new SchedulerCustomFieldMapping(GroupIdFieldName, GroupIdFieldName); groupIdMapping.ValueType = FieldValueType.Integer; Storage.AppointmentStorage.CustomFieldMappings.Add(groupIdMapping); }
void AddCustomFieldsMapping(SchedulerStorage schedulerStorage) { SchedulerCustomFieldMapping customNameMapping = new SchedulerCustomFieldMapping("CustomName", "CustomName"); SchedulerCustomFieldMapping customStatusMapping = new SchedulerCustomFieldMapping("CustomStatus", "CustomStatus"); schedulerStorage.AppointmentStorage.CustomFieldMappings.Add(customNameMapping); schedulerStorage.AppointmentStorage.CustomFieldMappings.Add(customStatusMapping); }
public MainPage() { InitializeComponent(); schedulerControl1.Start = new System.DateTime(2010, 7, 19, 0, 0, 0, 0); int u = schedulerControl1.Storage.AppointmentStorage.CustomFieldMappings.Count; SchedulerCustomFieldMapping aa = schedulerControl1.Storage.AppointmentStorage.CustomFieldMappings[0]; }