Gets/sets the editor used for editing
Notes.
This sample demonstrates how to use the control's AppointmentEditor and NoteEditor properties to assign a custom editor to be used for editing Appointments and Notes, respectively.
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinSchedule
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Me.UltraWeekView1.AppointmentEditor = New ColorPickerEditor()
Me.UltraWeekView1.NoteEditor = New ColorPickerEditor()
Me.UltraMonthViewSingle1.AppointmentEditor = New ColorPickerEditor()
Me.UltraMonthViewSingle1.NoteEditor = New ColorPickerEditor()
Me.UltraWeekView1.CalendarInfo.Appointments.Add(DateTime.Now, DateTime.Now.AddMinutes(30), "Red")
Me.UltraWeekView1.CalendarInfo.Notes.Add(DateTime.Today, "Green")
Me.UltraMonthViewSingle1.CalendarInfo.Appointments.Add(DateTime.Now, DateTime.Now.AddMinutes(30), "Blue")
Me.UltraWeekView1.CalendarInfo.Notes.Add(DateTime.Today, "Yellow")
End Sub
'Declaration
Public Property NoteEditor As Infragistics.Win.EmbeddableEditorBase
using Infragistics.Win;
using Infragistics.Win.UltraWinSchedule;
private void button1_Click(object sender, System.EventArgs e)
{
this.ultraWeekView1.AppointmentEditor = new ColorPickerEditor();
this.ultraWeekView1.NoteEditor = new ColorPickerEditor();
this.ultraMonthViewSingle1.AppointmentEditor = new ColorPickerEditor();
this.ultraMonthViewSingle1.NoteEditor = new ColorPickerEditor();
this.ultraWeekView1.CalendarInfo.Appointments.Add( DateTime.Now, DateTime.Now.AddMinutes( 30 ), "Red" );
this.ultraWeekView1.CalendarInfo.Notes.Add( DateTime.Today, "Green" );
this.ultraMonthViewSingle1.CalendarInfo.Appointments.Add( DateTime.Now, DateTime.Now.AddMinutes( 30 ), "Blue" );
this.ultraWeekView1.CalendarInfo.Notes.Add( DateTime.Today, "Yellow" );
}
'Declaration
Public Property NoteEditor As Infragistics.Win.EmbeddableEditorBase
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2