Version

CreateActivityRecurrenceDialog Method

Returns a FrameworkElement that should used as the dialog for creating and editing ActivityBase recurrences.
Syntax
'Declaration
 
Public Overridable Function CreateActivityRecurrenceDialog( _
   ByVal container As FrameworkElement, _
   ByVal dataManager As XamScheduleDataManager, _
   ByVal activity As ActivityBase, _
   ByVal allowModifications As Boolean, _
   Optional ByVal showTimeZonePickers As Boolean _
) As FrameworkElement
public virtual FrameworkElement CreateActivityRecurrenceDialog( 
   FrameworkElement container,
   XamScheduleDataManager dataManager,
   ActivityBase activity,
   bool allowModifications,
   bool showTimeZonePickers
)

Parameters

container
The FrameworkElement that contains this dialog, or null if there is no cointaining element.
dataManager
The current XamScheduleDataManager
activity
The ActivityBase that is being edited
allowModifications
True if the dialog should allow modifications of the Appointment recurrences, false to display the Appointment recurrences without allowing modifications.
showTimeZonePickers
True to display start/end time zone pickers otherwise false (default)/>

Return Value

A FrameworkElement that represents the Recurrence dialog or the contents of the Recurrence dialog.
Remarks

The XamScheduleDataManager will automatically host the FrameworkElement returned by this method in an appropriate container depending on the environment within which the dialog is being displayed. If the environment supports top level windows then the FrameworkElement will be hosted in a Dialog Window unless this method returns a Window-derived element in which case that window will be used as the dialog window.

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