バージョン

InitializeWeekEventArgs クラス

UltraCalendarInfo.InitializeWeek イベントに使用されるイベントパラメーター。
シンタックス
'宣言
 
Public Class InitializeWeekEventArgs 
   Inherits System.EventArgs
public class InitializeWeekEventArgs : System.EventArgs 
使用例
Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinSchedule
Imports System.Diagnostics

    Private Sub ultraCalendarInfo1_InitializeWeek(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinSchedule.InitializeWeekEventArgs) Handles ultraCalendarInfo1.InitializeWeek

        '----------------------------------------------------------------------------------------------------
        '	説明
        '	InitializeWeek
        '
        '	ユーザー インターフェイスの操作または GetWeek メソッドの呼び出しで、
        '	Week オブジェクトが初期化されたときに発生します
        '
        '----------------------------------------------------------------------------------------------------

        Debug.WriteLine("================================================================================")
        Debug.WriteLine("InitializeWeek event fired for the week of " + e.Week.FirstDate.ToLongDateString())
        Debug.WriteLine("================================================================================")
        Debug.WriteLine("")

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

		private void ultraCalendarInfo1_InitializeWeek(object sender, Infragistics.Win.UltraWinSchedule.InitializeWeekEventArgs e)
		{

			//----------------------------------------------------------------------------------------------------
			//	説明
			//	InitializeWeek
			//
			//	ユーザー インターフェイスの操作または GetWeek メソッドの呼び出しで、
			//	Week オブジェクトが初期化されたときに発生します
			//
			//----------------------------------------------------------------------------------------------------
			
			Debug.WriteLine( "================================================================================" );
			Debug.WriteLine( "InitializeWeek event fired for the week of " + e.Week.FirstDate.ToLongDateString() );
			Debug.WriteLine( "================================================================================" );
			Debug.WriteLine( "" );
		
		}
参照