バージョン

Control プロパティ (InitializeMonthViewMultiEventArgs)

印刷操作に使用する Infragistics.Win.UltraWinSchedule.UltraMonthViewMulti コントロールを返します。
シンタックス
'宣言
 
Public ReadOnly Property Control As UltraMonthViewMulti
public UltraMonthViewMulti Control {get;}
使用例
Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinSchedule

   Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'print a yearly view
        Me.UltraSchedulePrintDocument1.PrintStyle = SchedulePrintStyle.Yearly
   End Sub

   Private Sub UltraSchedulePrintDocument1_InitializeMonthViewMulti(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinSchedule.Printing.InitializeMonthViewMultiEventArgs) Handles UltraSchedulePrintDocument1.InitializeMonthViewMulti
        ' hide leading and trailing days so that only days
        ' in the year being printed are included
        e.Control.TrailingDaysVisible = False

        ' display the week numbers
        e.Control.WeekNumbersVisible = True
	End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinSchedule;

		private void Form1_Load(object sender, System.EventArgs e)
		{
			//print a yearly view
			this.ultraSchedulePrintDocument1.PrintStyle = SchedulePrintStyle.Yearly;
		}

		private void ultraSchedulePrintDocument1_InitializeMonthViewMulti(object sender, Infragistics.Win.UltraWinSchedule.Printing.InitializeMonthViewMultiEventArgs e)
		{
			// hide leading and trailing days so that only days
			// in the year being printed are included
			e.Control.TrailingDaysVisible = false;

			// display the week numbers
			e.Control.WeekNumbersVisible = true;
		}
参照