TcxCustomScheduler.OnCanShowView Event
Fires before a time View shown in the scheduling area is changed for another.
Declaration
property OnCanShowView: TcxSchedulerCanShowViewEvent read; write;
Remarks
Implement the OnCanShowView event handler to customize the time View before it is displayed in the scheduling area.
The Sender parameter specifies the scheduler control.
The AView parameter specifies the new time View.
The Allow parameter controls whether or not the new time View can be displayed. Set the Allow parameter to True to show the View. Otherwise, it won’t be displayed.
Note
the Allow parameter value overrides the View’s CanShow property setting.
See Also