Occurs before the Time Ruler form is invoked to customize time ruler settings.
public event CustomizeTimeRulerFormEventHandler CustomizeTimeRulerFormShowing
Public Event CustomizeTimeRulerFormShowing As CustomizeTimeRulerFormEventHandler
The CustomizeTimeRulerFormShowing event's data class is CustomizeTimeRulerFormEventArgs. The following properties provide information specific to this event:
|AllowResize||Gets or sets a value indicating whether end users are allowed to resize the form. Inherited from FormShowingEventArgs.|
|Cancel||Gets or sets the value indicating whether to cancel invoking the form. Inherited from FormShowingEventArgs.|
|Form||Gets or sets the form which will be invoked. Inherited from FormShowingEventArgs.|
|SizeToContent||Obsolete. This property is obsolete. Inherited from FormShowingEventArgs.|
|TimeRuler||Gets the Time Ruler that is customized via the Time Ruler dialog.|
|ViewModel||Gets or sets the View Model for the form which will be invoked. Inherited from FormShowingEventArgs.|
You are viewing documentation for the legacy WPF Scheduler control. If you're starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.
Handle the CustomizeTimeRulerFormShowing event to perform any actions before the Time Ruler form is shown. For instance, a custom form can be substituted in place of the standard one.
This form can be invoked either by an end-user, or via the SchedulerControl.ShowCustomizeTimeRulerForm method. Note that the time ruler, which will be customized in the invoked form, can be accessed via the CustomizeTimeRulerFormEventArgs.TimeRuler property.