开发者

DevExpress XtraScheduler custom mapping

开发者 https://www.devze.com 2023-02-24 10:11 出处:网络
Is it possible to make some conversion while mapping? SchedulerStorage schedulerStorage = schedulerControl1.Storage;

Is it possible to make some conversion while mapping?

SchedulerStorage schedulerStorage = schedulerControl1.Storage; schedulerStorage.Appointments.Mappings.Start = "Star开发者_如何学PythontTime";

For example I want to add one hour to Appointment.Start, but I don't want to change "StartTime" property get{} of my business object.


Generally, we did not consider such scenario of using the XtraScheduler when designed it. So, this feature is not supported. I can only suggest that you create a new field in the DataSource which will contain an updated value of the StartTime field and map the Start property to it....

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号