This question is locked. New answers and comments are not allowed.
Hi.
I have custom appointment dialog. And I need do some checks when user enter data but when checking in progress I need disable Save and Cancel button.
How can I get access to this button from my custom appointment?
My custom appointment class look like:
SchedulerEditor - my custom control with all controls and some business logic.
I have custom appointment dialog. And I need do some checks when user enter data but when checking in progress I need disable Save and Cancel button.
How can I get access to this button from my custom appointment?
My custom appointment class look like:
public class SchedulerAppointment : Appointment{ private SchedulerEditor _editor; public SchedulerEditor Editor { get { return this.Storage<SchedulerAppointment>()._editor; } set { var storage = this.Storage<SchedulerAppointment>(); if (storage._editor != value) { storage._editor = value; if (value.SchedulerItem != null) { base.Subject = value.SchedulerItem.SchedulerName; } this.OnPropertyChanged(() => this.Editor); } } }}SchedulerEditor - my custom control with all controls and some business logic.