Back to Devexpress

SchedulerCommands.ShowNewAppointmentWindowCommand Property

wpf-devexpress-dot-xpf-dot-scheduling-dot-schedulercommands-0039d082.md

latest2.6 KB
Original Source

SchedulerCommands.ShowNewAppointmentWindowCommand Property

Gets or sets a command used to invoke the Appointment Window for the new appointment.

Namespace : DevExpress.Xpf.Scheduling

Assembly : DevExpress.Xpf.Scheduling.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public ICommand ShowNewAppointmentWindowCommand { get; set; }
vb
Public Property ShowNewAppointmentWindowCommand As ICommand

Property Value

TypeDescription
ICommand

An ICommand object that is the scheduler command.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowNewAppointmentWindowCommand property.

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.

wpf-scheduler-customize-context-menus/CS/DXScheduler_PopUpMenuCustomization/MainWindow.xaml#L109

xml
Glyph="{dx:DXImage Image=Appointment_16x16.png}"
                   Command="{Binding ElementName=schedulerCommands, Path=ShowNewAppointmentWindowCommand}"/>
<dxb:BarButtonItem Content="Add News Block..."

See Also

Appointment Window

Appointments

SchedulerCommands Class

SchedulerCommands Members

DevExpress.Xpf.Scheduling Namespace