MindFusion.Scheduling for Silverlight Programmer's Guide
ItemPresenterAttribute Class
See Also
 





Associates a custom item presenter with a schedule item class.

Namespace: MindFusion.Scheduling.Silverlight
Assembly: MindFusion.Scheduling.Silverlight

 Syntax

C#  Copy Code

public class ItemPresenterAttribute : Attribute

Visual Basic  Copy Code

Public Class ItemPresenterAttribute
    Inherits Attribute

 Example

The following example illustrates how to associate a custom ItemPresenter class with a custom Appointment class. The example assumes that the custom ItemPresenter class is already defined and is named MyItemPresenter.

C#  Copy Code
[ItemPresenter(typeof(MyAppointmentPresenter))]
public class MyAppointment : Appointment
{
    // ...
}
Visual Basic  Copy Code
<ItemPresenter(GetType(MyAppointmentPresenter))> _
Public Class MyAppointment
    Inherits Appointment

    ' ...

End Class

 Inheritance Hierarchy

System.Object
    System.Attribute
        MindFusion.Scheduling.Silverlight.ItemPresenterAttribute

 See Also

ItemPresenterAttribute Members
MindFusion.Scheduling.Silverlight Namespace