Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomScheduler.OnCanShowView Event

In This Article

Fires before a time View shown in the scheduling area is changed for another.

#Declaration

Delphi
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