GanttView for WPF | ComponentOne
C1.WPF.GanttView.4.5.2 Assembly / C1.WPF.GanttView Namespace / C1GanttView Class / BeforeAddTask Event

In This Topic
    BeforeAddTask Event (C1GanttView)
    In This Topic
    Fires before a new task is added by the user.
    Syntax
    'Declaration
     
    Public Event BeforeAddTask As CancelTaskEventHandler
    public event CancelTaskEventHandler BeforeAddTask
    Event Data

    The event handler receives an argument of type CancelTaskEventArgs containing data related to this event. The following CancelTaskEventArgs properties provide information specific to this event.

    PropertyDescription
    (Inherited from System.ComponentModel.CancelEventArgs)
    Gets the current C1.GanttView.BaseTask object.  
    See Also