Version

DisplayActivityCategoryCreationDialog Method

Syntax
'Declaration
 
Public Function DisplayActivityCategoryCreationDialog( _
   ByVal container As FrameworkElement, _
   ByVal header As Object, _
   ByVal activityCategoryHelper As ActivityCategoryHelper, _
   ByVal creationResult As ScheduleDialogBase(Of ActivityCategory), _
   ByVal updateOwningResource As Boolean, _
   ByVal closingCallback As Func(Of Boolean), _
   ByVal closedCallback As Action(Of Nullable(Of Boolean)) _
) As Boolean

Parameters

container
The FrameworkElement that will contain the dialog.
header
The header (caption) of the dialog
activityCategoryHelper
A reference to an Infragistics.Controls.Schedules.Primitives.ActivityCategoryHelper instance.
creationResult
An instance of the Infragistics.Controls.Schedules.Primitives.ScheduleDialogBase.ChooserResult<TChoice> class that holds the ActivityCategory created by the dialog and (optionally) a piece of user data.
updateOwningResource
True to automatically update the owning Resource with the new ActivityCategory.
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