Back to Devexpress

DefaultBarItemNames.ContextMenu_Items_TimeRuler_Actions_NewAppointment Field

wpf-devexpress-dot-xpf-dot-scheduling-dot-defaultbaritemnames-dot-contextmenu-underscore-items-underscore-timeruler-underscore-actions-underscore-newappointment.md

latest2.5 KB
Original Source

DefaultBarItemNames.ContextMenu_Items_TimeRuler_Actions_NewAppointment Field

Returns the ContextMenu_Items_TimeRuler_Actions_NewAppointment string. Identifies the New Appointment item in the Time Ruler Pop-Up Menu.

Namespace : DevExpress.Xpf.Scheduling

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

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public const string ContextMenu_Items_TimeRuler_Actions_NewAppointment = "ContextMenu_Items_TimeRuler_Actions_NewAppointment"
vb
Public Const ContextMenu_Items_TimeRuler_Actions_NewAppointment As String = "ContextMenu_Items_TimeRuler_Actions_NewAppointment"

Field Value

Type
String

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

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#L75

xml
<!--Disable the "New Appointment" and "New Recurring Appointment" item-->
    <dxb:UpdateAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_TimeRuler_Actions_NewAppointment}"
                      PropertyName="IsEnabled"

See Also

DefaultBarItemNames Class

DefaultBarItemNames Members

DevExpress.Xpf.Scheduling Namespace