Version

ActivityTypeChooserDialogDisplaying Event

Raised before the dialog that allows the end user to choose from a list of available activity types is displayed.
Syntax
'Declaration
 
Public Event ActivityTypeChooserDialogDisplaying As EventHandler(Of ActivityTypeChooserDialogDisplayingEventArgs)
public event EventHandler<ActivityTypeChooserDialogDisplayingEventArgs> ActivityTypeChooserDialogDisplaying
Event Data

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

PropertyDescription
ActivityType Returns or sets the type of activity that should be used. If left set to null, the end user will be prompted with the AvailableTypes
AvailableTypes Returns an enumeration indicating the types of activities from which the end user may choose.
Calendar Returns the calendar associated with the event or null if there is no calendar associated with the initiating action.
Cancel Returns or sets a boolean indicating whether to cancel the initiating operation.
ChooserReason Returns an enumeration indicating the type of operation for which the dialog is being displayed.
Remarks

ActivityTypeChooserDialogDisplaying event is raised before the Infragistics.Controls.Schedules.Primitives.ActivityTypeChooserDialog is displayed. The dialog allows the end user to choose an activity type from a list of available types. The ActivityTypeChooserDialogDisplayingEventArgs.ActivityType may be set to explicitly choose the type to create or left to null to allow the end user to see the prompt dialog and choose the activity type. The ActivityTypeChooserDialogDisplayingEventArgs.Cancel may be set to true to cancel the operation.

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