Raises the ItemAdded event.

Namespace: Mindscape.SilverlightElements
Assembly: Mindscape.SilverlightElements (in Mindscape.SilverlightElements.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
protected internal virtual void OnItemAdded(
	ScheduleItem item,
	out bool cancel,
	out bool showDefaultEditor
)
Visual Basic
Protected Friend Overridable Sub OnItemAdded ( _
	item As ScheduleItem, _
	<OutAttribute> ByRef cancel As Boolean, _
	<OutAttribute> ByRef showDefaultEditor As Boolean _
)
Visual C++
protected public:
virtual void OnItemAdded(
	ScheduleItem^ item, 
	[OutAttribute] bool% cancel, 
	[OutAttribute] bool% showDefaultEditor
)

Parameters

item
Type: Mindscape.SilverlightElements..::..ScheduleItem
The item being added.
cancel
Type: System..::..Boolean%
true to cancel the add (and remove the item again); false to permit the new item.
showDefaultEditor
Type: System..::..Boolean%
true to show the default editor (ScheduleItemDialog); false to suppress the default editor.

See Also