SchedulerControl.CustomizeTimeRulerFormShowing Event
Occurs before the Time Ruler form is invoked to customize time ruler settings.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
#Declaration
#Event Data
The CustomizeTimeRulerFormShowing event's handler receives an argument of the CustomizeTimeRulerFormEventArgs type. The following properties provide information specific to this event:
Property | Description |
---|---|
Allow |
Gets or sets a value indicating whether end-users are allowed to resize the form.
Inherited from Form |
Cancel |
Gets or sets the value indicating whether to cancel invoking the form.
Inherited from Form |
Form |
Gets or sets the form to be invoked.
Inherited from Form |
Size |
Obsolete. This API is obsolete now.
Inherited from Form |
Time |
Gets the time ruler that is customized via the Time Ruler dialog. |
View |
Gets or sets the View Model for the form which will be invoked.
Inherited from Form |
#Remarks
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.