作成日: 2020/07/02 最終更新日: 2020/07/02
文書種別
使用方法
詳細
C1ScheduleのViewTypeを「MonthView」にし、C1ScheduleのCalendarInfo.FirstDate、LastDateを指定すると、表示するスケジュールの期間を限定することができます。このとき、FirstDateを月の途中の日付に、LastDateを翌月の途中の日付に設定すると、月の途中から始まる1か月のスケジュールを表示する事ができます。
◎サンプルコード(VB)
◎サンプルコード(VB)
C1Schedule1.ViewType = C1.Win.C1Schedule.ScheduleViewEnum.MonthView
C1Schedule1.CalendarInfo.FirstDate = New DateTime(2020, 5, 15)
C1Schedule1.CalendarInfo.LastDate = New DateTime(2020, 6, 15)
◎サンプルコード(C#)c1Schedule1.ViewType = C1.Win.C1Schedule.ScheduleViewEnum.MonthView;
c1Schedule1.CalendarInfo.FirstDate = new DateTime(2020, 5, 15);
c1Schedule1.CalendarInfo.LastDate = new DateTime(2020, 6, 15);
旧文書番号
85773