Version

ActivityAdding Event

Raised before an activity is added.
Syntax
'Declaration
 
Public Event ActivityAdding As EventHandler(Of ActivityAddingEventArgs)
public event EventHandler<ActivityAddingEventArgs> ActivityAdding
Event Data

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

PropertyDescription
Activity (Inherited from Infragistics.Controls.Schedules.ActivityEventArgs)The activity for which the operation is being performed.
Cancel (Inherited from Infragistics.Controls.Schedules.CancellableActivityEventArgs)Specifies whether to cancel the operation.
Remarks

ActivityAdding event is raised before a new activity is added by the user. The event is raised after the new activity dialog is okayed.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also