SchedulerControl.SetOptionsDefaultContextMenuTemplate(SchedulerControl, DataTemplate) Method

Sets the value of the SchedulerControl.OptionsDefaultContextMenuTemplate attached property to a specified DependencyObject.

Namespace: DevExpress.Xpf.Scheduling

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


public static void SetOptionsDefaultContextMenuTemplate(
    SchedulerControl obj,
    DataTemplate value
Public Shared Sub SetOptionsDefaultContextMenuTemplate(
    obj As SchedulerControl,
    value As DataTemplate


Name Type Description
obj SchedulerControl

The element to which the attached property is written.

value DataTemplate

The required DataTemplate value.

See Also