Skip to main content

SchedulerControl.ShowGotoDateWindow(DateTime) Method

Shows the Go to Date Window with the specified date.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.1.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public void ShowGotoDateWindow(
    DateTime date
)

Parameters

Name Type Description
date DateTime

A DateTime object that is the date to be shown in the dialog.

Remarks

The Go To Date window allows end-users to change the date on which the SchedulerControl should show its data according to its SchedulerControl.ActiveViewIndex.

WPFScheduler_GotoDateWindow

Use the OptionsWindows.GotoDateWindowType property to customize the window’s appearance, for example, to substitute the built-in window with a custom one.

Handle the SchedulerControl.GotoDateWindowShowing event to manage display of this window.

Note

The ShowGotoDateWindow method fires the SchedulerControl.GotoDateWindowShowing event and displays the window specified by the WindowShowingEventArgs<T>.Window event arguments property. If the event is not handled, default window is the GotoDateWindow instance.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowGotoDateWindow(DateTime) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also