An item editor that enables modification of the item description as well as the item header.
Namespace: MindFusion.Scheduling.WinForms
Assembly: MindFusion.Scheduling
C# Copy Code |
---|
public sealed class ItemEditorEx : UserControl, IItemEditor |
Visual Basic Copy Code |
---|
Public NotInheritable Class ItemEditorEx |
The following example illustrates how to use this class as a default item editor with MindFusion.Scheduling. Because item editors are associated with items at class level, a new empty class is derived from Appointment and the ItemEditorEx is bound to it via the ItemEditor attribute. Finally the Calendar control is instructed to instantiate appointments from the new class by using the InteractiveItemType property.
C# Copy Code |
---|
[ItemEditor(typeof(ItemEditorEx))] |
Visual Basic Copy Code |
---|
<ItemEditor(GetType(ItemEditorEx))> _ |
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.UserControl
MindFusion.Scheduling.WinForms.ItemEditorEx