バージョン

Visible プロパティ (Note)

注が表示されるかどうかを返すまたは設定します。
シンタックス
'宣言
 
Public Overrides Property Visible As Boolean
public override bool Visible {get; set;}
使用例
Imports System.Diagnostics
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinSchedule

    Private Sub SetupNote()

        '	Add a new Note object to the component's Notes collection
        '	for the current date
        Dim note As Note = Me.ultraCalendarInfo1.Notes.Add(DateTime.Today)

        '	Make sure we have the right starting date
        Debug.Assert((note.Date = DateTime.Today.Date), "Error creating the note.")

        '	Set the description
        note.Description = "My Note"

        '	Hide the note if the day with which it is associated is disabled
        If (Not note.Day.EnabledResolved) Then
            note.Visible = False
        End If

        '	Lock the note so the end user cannot modify its description
        '	or change the day with which it is associated
        note.Locked = True

        '	If the note is selected, deselect it
        If (note.IsSelected) Then
            note.Selected = False
        End If

    End Sub
using System.Diagnostics;
using Infragistics.Win;
using Infragistics.Win.UltraWinSchedule;

		private void SetupNote()
		{

			//	Add a new Note object to the component's Notes collection
			//	for the current date
			Note note = this.ultraCalendarInfo1.Notes.Add( DateTime.Today );

			//	Make sure we have the right starting date
			Debug.Assert( (note.Date == DateTime.Today.Date), "Error creating the note." );

			//	Set the description
			note.Description = "My Note";

			//	Hide the note if the day with which it is associated is disabled
			if ( ! note.Day.EnabledResolved )
				note.Visible = false;

			//	Lock the note so the end user cannot modify its description
			//	or change the day with which it is associated
			note.Locked = true;

			//	If the note is selected, deselect it
			if ( note.IsSelected )
				note.Selected = false;
			
		}
参照