Associates a custom item presenter with a schedule item class.
Namespace: MindFusion.Scheduling.Silverlight
Assembly: MindFusion.Scheduling.Silverlight
C# Copy Code |
---|
public class ItemPresenterAttribute : Attribute |
Visual Basic Copy Code |
---|
Public Class ItemPresenterAttribute |
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 |
System.Object
System.Attribute
MindFusion.Scheduling.Silverlight.ItemPresenterAttribute