Back to Devexpress

DefaultBarItemNames.ContextMenu_Items_TimeRuler_Actions_NewAllDayEvent Field

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

latest2.4 KB
Original Source

DefaultBarItemNames.ContextMenu_Items_TimeRuler_Actions_NewAllDayEvent Field

Returns the ContextMenu_Items_TimeRuler_Actions_NewAllDayEvent string. Identifies the New All Day Event 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_NewAllDayEvent = "ContextMenu_Items_TimeRuler_Actions_NewAllDayEvent"
vb
Public Const ContextMenu_Items_TimeRuler_Actions_NewAllDayEvent As String = "ContextMenu_Items_TimeRuler_Actions_NewAllDayEvent"

Field Value

Type
String

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ContextMenu_Items_TimeRuler_Actions_NewAllDayEvent 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#L68

xml
<!--Hide the "New All Day Event" and "New Recurring Event" items-->
<dxb:UpdateAction ElementName="{x:Static Member=dxsch:DefaultBarItemNames.ContextMenu_Items_TimeRuler_Actions_NewAllDayEvent}"
                  PropertyName="IsVisible"

See Also

DefaultBarItemNames Class

DefaultBarItemNames Members

DevExpress.Xpf.Scheduling Namespace