前週の領域は、WeekNumbersVisible が True に設定されている場合に、週番号が表示されるInfragistics.Win.UltraWinSchedule.MonthViewMulti.WeekUIElement のすぐ左にある領域です。
AllowWeekSelection と WeekNumbersVisible の両方が False の場合、プレウィーク領域は表示されません。
Private Sub SetupWeekNumberDisplay() ' Get the number of months currently being displayed by the control Dim visibleMonths As Integer = Me.ultraMonthViewMulti1.VisibleMonths.Count ' If the number of visible months is > 1, display week numbers If (visibleMonths > 1) Then Me.ultraMonthViewMulti1.WeekNumbersVisible = True Else Me.ultraMonthViewMulti1.WeekNumbersVisible = False End If End Sub
private void SetupWeekNumberDisplay() { // Get the number of months currently being displayed by the control int visibleMonths = this.ultraMonthViewMulti1.VisibleMonths.Count; // If the number of visible months is > 1, display week numbers if ( visibleMonths > 1 ) this.ultraMonthViewMulti1.WeekNumbersVisible = true; else this.ultraMonthViewMulti1.WeekNumbersVisible = false; }