Version

NoteEditor Property

Gets/sets the editor used for editing Notes.
Syntax
'Declaration
 
Public Property NoteEditor As Infragistics.Win.EmbeddableEditorBase
public Infragistics.Win.EmbeddableEditorBase NoteEditor {get; set;}
Remarks

By default, the UltraMonthViewSingleBase-derived controls use the EditorWithText to edit Notes. The NoteEditor property can be used to assign a different editor to be used for editing Notes.

The AppointmentEditor property is available only at runtime. Design-time support for assigning custom editors is provided through the NoteEditorControl property.

Example
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
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" );
		}
Requirements

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

See Also