Version

DisplayActivityTypeChooserDialog Method

Displays the Infragistics.Controls.Schedules.Primitives.ActivityTypeChooserDialog which lets the end user choose a Recurrence Series or Occurrence. A parameter can be passed to the dialog that specifies whether the choice applies to the opening or deletion of the Series/Occurrence.
Syntax

Parameters

container
The FrameworkElement that will contain the dialog.
header
The header (caption) of the dialog
availableTypes
The set of available activity types from which to choose
chooserReason
The reason for which the dialog is being displayed
calendar
The calendar associated with the action or null if there is no calendar associated with the action
chooserResult
A reference to a Infragistics.Controls.Schedules.Primitives.ScheduleDialogBase.ChooserResult<TChoice> instance. The dialog will set the Infragistics.Controls.Schedules.Primitives.ScheduleDialogBase.ChooserResult<TChoice>.Choice property when the dialog closes to reflect the user's choice.
closingCallback
A callback to call when when the window is closing, since the call to show the dialog may not be blocking.
closedCallback
A callback to call when when the window has closed, since the call to show the dialog may not be blocking.

Return Value

Returns true if the dialog was displayed
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