skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class SchedulerDefaultContextMenu

Represents the default context menu shown for RadScheduler elements.

Inheritance
System.Object
RadContextMenu
SchedulerDefaultContextMenu
Inherited Members
RadContextMenu.Show()
RadContextMenu.Show(Int32, Int32)
RadContextMenu.Show(Point)
RadContextMenu.Show(Point, RadDirection)
RadContextMenu.Show(Control, Int32, Int32)
RadContextMenu.Show(Control, Point)
RadContextMenu.Show(Control, Point, RadDirection)
RadContextMenu.Show(RadItem, Int32, Int32)
RadContextMenu.Show(RadItem, Point)
RadContextMenu.Show(RadItem, Point, RadDirection)
RadContextMenu.Show(RadItem, Int32, RadDirection)
RadContextMenu.OnDropDownOpening(CancelEventArgs)
RadContextMenu.OnDropDownClosing(CancelEventArgs)
RadContextMenu.OnDropDownOpened()
RadContextMenu.OnDropDownClosed()
RadContextMenu.Items
RadContextMenu.ThemeName
RadContextMenu.ImageList
RadContextMenu.DropDown
RadContextMenu.AnimationEnabled
RadContextMenu.AnimationFrames
RadContextMenu.AnimationType
RadContextMenu.AnalyticsName
RadContextMenu.EnableAnalytics
RadContextMenu.DropDownOpening
RadContextMenu.DropDownClosing
RadContextMenu.DropDownOpened
RadContextMenu.DropDownClosed
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll

Syntax

public class SchedulerDefaultContextMenu : RadContextMenu, IAnalyticsProvider

Constructors

SchedulerDefaultContextMenu(RadSchedulerElement)

Creates a new instance of the SchedulerDefaultContextMenu class.

Declaration
public SchedulerDefaultContextMenu(RadSchedulerElement schedulerElement)
Parameters
RadSchedulerElement schedulerElement

The RadSchedulerElement this menu is associated with.

Properties

Appointment

Gets the appointment the context menu is opened for.

Declaration
public IEvent Appointment { get; }
Property Value
IEvent

CellElement

Gets the SchedulerCellElement the context menu is opened for.

Declaration
public SchedulerCellElement CellElement { get; }
Property Value
SchedulerCellElement

DayItem

Gets the menu item for changing the Timescales of a SchedulerTimelineView to day.

Declaration
public SchedulerTimescalesMenuItem DayItem { get; }
Property Value
SchedulerTimescalesMenuItem

EditAppointmentItem

Gets the menu item for opening an appointment for edit.

Declaration
public SchedulerMenuItem EditAppointmentItem { get; }
Property Value
SchedulerMenuItem

FifteenMinutesItem

Gets the menu item for changing the Timescales of a SchedulerTimelineView to fifteen minutes.

Declaration
public SchedulerTimescalesMenuItem FifteenMinutesItem { get; }
Property Value
SchedulerTimescalesMenuItem

HalfHourItem

Gets the menu item for changing the Timescales of a SchedulerTimelineView to thirty minutes.

Declaration
public SchedulerTimescalesMenuItem HalfHourItem { get; }
Property Value
SchedulerTimescalesMenuItem

HourItem

Gets the menu item for changing the Timescales of a SchedulerTimelineView to hour.

Declaration
public SchedulerTimescalesMenuItem HourItem { get; }
Property Value
SchedulerTimescalesMenuItem

Interval

Gets the selected time interval from the associated RadSchedulerElement if such exist.

Declaration
public DateTimeInterval Interval { get; }
Property Value
DateTimeInterval

MonthItem

Gets the menu item for changing the Timescales of a SchedulerTimelineView to month.

Declaration
public SchedulerTimescalesMenuItem MonthItem { get; }
Property Value
SchedulerTimescalesMenuItem

NewAppointmentItem

Gets the menu item for adding a new appointment.

Declaration
public SchedulerMenuItem NewAppointmentItem { get; }
Property Value
SchedulerMenuItem

NewRecurringItem

Gets the menu item for adding a new recurring appointment.

Declaration
public SchedulerMenuItem NewRecurringItem { get; }
Property Value
SchedulerMenuItem

NextViewItem

Gets the menu item for navigating to the next view.

Declaration
public SchedulerMenuItem NextViewItem { get; }
Property Value
SchedulerMenuItem

PreviousViewItem

Gets the menu item for navigating to the previous view.

Declaration
public SchedulerMenuItem PreviousViewItem { get; }
Property Value
SchedulerMenuItem

ScaleRange10MinutesItem

Gets the menu item for changing the ruler ScaleRange to 10 minutes.

Declaration
public SchedulerScaleRangeMenuItem ScaleRange10MinutesItem { get; }
Property Value
SchedulerScaleRangeMenuItem

ScaleRange15MinutesItem

Gets the menu item for changing the ruler ScaleRange to 15 minutes.

Declaration
public SchedulerScaleRangeMenuItem ScaleRange15MinutesItem { get; }
Property Value
SchedulerScaleRangeMenuItem

ScaleRange30MinutesItem

Gets the menu item for changing the ruler ScaleRange to 30 minutes.

Declaration
public SchedulerScaleRangeMenuItem ScaleRange30MinutesItem { get; }
Property Value
SchedulerScaleRangeMenuItem

ScaleRange5MinutesItem

Gets the menu item for changing the ruler ScaleRange to 5 minutes.

Declaration
public SchedulerScaleRangeMenuItem ScaleRange5MinutesItem { get; }
Property Value
SchedulerScaleRangeMenuItem

ScaleRange60MinutesItem

Gets the menu item for changing the ruler ScaleRange to 60 minutes.

Declaration
public SchedulerScaleRangeMenuItem ScaleRange60MinutesItem { get; }
Property Value
SchedulerScaleRangeMenuItem

ScaleRange6MinutesItem

Gets the menu item for changing the ruler ScaleRange to 6 minutes.

Declaration
public SchedulerScaleRangeMenuItem ScaleRange6MinutesItem { get; }
Property Value
SchedulerScaleRangeMenuItem

SchedulerElement

Gets the scheduler element this menu is associated with.

Declaration
public RadSchedulerElement SchedulerElement { get; }
Property Value
RadSchedulerElement

TimeScalesItem

Gets the menu item holding the options for the Timescales of a SchedulerTimelineView

Declaration
public SchedulerMenuItem TimeScalesItem { get; }
Property Value
SchedulerMenuItem

WeekItem

Gets the menu item for changing the Timescales of a SchedulerTimelineView to week.

Declaration
public SchedulerTimescalesMenuItem WeekItem { get; }
Property Value
SchedulerTimescalesMenuItem

YearItem

Gets the menu item for changing the Timescales of a SchedulerTimelineView to year.

Declaration
public SchedulerTimescalesMenuItem YearItem { get; }
Property Value
SchedulerTimescalesMenuItem

Methods

BuildMenuItemsTree()

Adds all menu items and sub items to the menu.

Declaration
protected virtual void BuildMenuItemsTree()

CreateMenuItems()

Creates the menu items and sub items for the menu.

Declaration
protected virtual void CreateMenuItems()

Dispose(Boolean)

Declaration
protected override void Dispose(bool disposing)
Parameters
System.Boolean disposing

Overrides
RadContextMenu.Dispose(Boolean)

OnEditAppointmentClick(Object, EventArgs)

Called when the users clicks on the "Edit appointment" menu item.

Declaration
protected virtual void OnEditAppointmentClick(object sender, EventArgs e)
Parameters
System.Object sender

The menu item that was clicked.

System.EventArgs e

The event arguments.

OnNewAppointmentItemClick(Object, EventArgs)

Called when the users clicks on the "New appointment" menu item.

Declaration
protected virtual void OnNewAppointmentItemClick(object sender, EventArgs e)
Parameters
System.Object sender

The menu item that was clicked.

System.EventArgs e

The event arguments.

OnNewRecurringItemClick(Object, EventArgs)

Called when the users clicks on the "New recurring appointment" menu item.

Declaration
protected virtual void OnNewRecurringItemClick(object sender, EventArgs e)
Parameters
System.Object sender

The menu item that was clicked.

System.EventArgs e

The event arguments.

OnNextViewItemClick(Object, EventArgs)

Called when the users clicks on the "Next view" menu item.

Declaration
protected virtual void OnNextViewItemClick(object sender, EventArgs e)
Parameters
System.Object sender

The menu item that was clicked.

System.EventArgs e

The event arguments.

OnPreviousViewItemClick(Object, EventArgs)

Called when the users clicks on the "Previous view" menu item.

Declaration
protected virtual void OnPreviousViewItemClick(object sender, EventArgs e)
Parameters
System.Object sender

The menu item that was clicked.

System.EventArgs e

The event arguments.

OnScaleRangeItemClick(Object, EventArgs)

Called when the users clicks on one of the scale range menu items.

Declaration
protected virtual void OnScaleRangeItemClick(object sender, EventArgs e)
Parameters
System.Object sender

The menu item that was clicked.

System.EventArgs e

The event arguments.

OnTimescalesItemClick(Object, EventArgs)

Called when the users clicks on one of the timescale menu item.

Declaration
protected virtual void OnTimescalesItemClick(object sender, EventArgs e)
Parameters
System.Object sender

The menu item that was clicked.

System.EventArgs e

The event arguments.

SetScaleRangeItemsVisibility(ElementVisibility)

Sets the visibility of all ScaleRange menu items to the provided visibility value.

Declaration
public void SetScaleRangeItemsVisibility(ElementVisibility visibility)
Parameters
ElementVisibility visibility

The new visibility for the menu items.

SetSelectedTimescale(Timescales)

Sets the menu item holding the provided timescale as selected.

Declaration
public void SetSelectedTimescale(Timescales timescale)
Parameters
Timescales timescale

The value to select.

UnwireEvents()

Removes the subscription for all menu items events.

Declaration
protected virtual void UnwireEvents()

WireEvents()

Add subscriptions for all menu items to their corresponding event handlers.

Declaration
protected virtual void WireEvents()

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.