Associates a custom item presenter with a schedule item class.
Namespace: MindFusion.Scheduling.Wpf
Assembly: MindFusion.Scheduling.Wpf
SyntaxC#
Copy Code
|
|---|
public class ItemPresenterAttribute : Attribute |
Visual Basic
Copy Code
|
|---|
Public Class ItemPresenterAttribute |
ExampleThe 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 HierarchySystem.Object![]()
System.Attribute![]()
MindFusion.Scheduling.Wpf.ItemPresenterAttribute
See Also