バージョン

TrailingDaysVisible プロパティ

最初と最後の表示月に先頭日と後続日を表示するかどうかを設定します。
シンタックス
'宣言
 
Public Property TrailingDaysVisible As Boolean
public bool TrailingDaysVisible {get; set;}
解説

True に設定されると、最も早い Infragistics.Win.UltraWinSchedule.MonthViewMulti.VisibleMonth は先頭日、つまり前の月の最後の数日を表示します。最も遅い Infragistics.Win.UltraWinSchedule.MonthViewMulti.VisibleMonth は後続日、つまり次の月の最初の数日を表示します。

Infragistics.Win.UltraWinSchedule.MonthViewMulti.VisibleMonth が表示される先頭日/後続日の両方またはいずれか一方を表示するかどうかを決定するには、Infragistics.Win.UltraWinSchedule.MonthViewMulti.VisibleMonth.ShowsLeadingDaysInfragistics.Win.UltraWinSchedule.MonthViewMulti.VisibleMonth.ShowsTrailingDays をそれぞれチェックします。

使用例
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinSchedule
Imports Infragistics.Win.UltraWinSchedule.MonthViewMulti

    Private Sub ShowCurrentMonthOnly()

        '	Get the current month
        Dim month As Infragistics.Win.UltraWinSchedule.Month
        month = Me.ultraMonthViewMulti1.CalendarInfo.GetMonth(DateTime.Today)

        '	Set the  control's FirstMonth property to the current month
        Me.ultraMonthViewMulti1.FirstMonth = month

        '	Set the MonthDimensions property to only display one month
        Me.ultraMonthViewMulti1.MonthDimensions = New Size(1, 1)

        '	Set the TrailingDaysVisible property to false so that only days
        '	that fall in the month being displayed are visible
        Me.ultraMonthViewMulti1.TrailingDaysVisible = False

        '	Set the PlaceHoldersVisible property to false, so that if the
        '	BorderStyleDay property is set a value other than None, borders
        '	are not drawn for the leading and trailing days
        Me.ultraMonthViewMulti1.PlaceHoldersVisible = False

        '	Hide the scroll buttons, so the user cannot change which
        '	month is being displayed
        Me.ultraMonthViewMulti1.ScrollButtonsVisible = False

    End Sub
using Infragistics.Win;
using Infragistics.Win.UltraWinSchedule;
using Infragistics.Win.UltraWinSchedule.MonthViewMulti;

		private void ShowCurrentMonthOnly()
		{

			//	Get the current month
			Infragistics.Win.UltraWinSchedule.Month month;
			month = this.ultraMonthViewMulti1.CalendarInfo.GetMonth( DateTime.Today );

			//	Set the  control's FirstMonth property to the current month
			this.ultraMonthViewMulti1.FirstMonth = month;

			//	Set the MonthDimensions property to only display one month
			this.ultraMonthViewMulti1.MonthDimensions = new Size( 1, 1 );

			//	Set the TrailingDaysVisible property to false so that only days
			//	that fall in the month being displayed are visible
			this.ultraMonthViewMulti1.TrailingDaysVisible = false;

			//	Set the PlaceHoldersVisible property to false, so that if the
			//	BorderStyleDay property is set a value other than None, borders
			//	are not drawn for the leading and trailing days
			this.ultraMonthViewMulti1.PlaceHoldersVisible = false;

			//	Hide the scroll buttons, so the user cannot change which
			//	month is being displayed
			this.ultraMonthViewMulti1.ScrollButtonsVisible = false;

		}
参照