作成日: 2024/01/19 最終更新日: 2024/01/31
文書種別
使用方法
詳細
GcCalendarGridコントロールで選択された日数を取得するには、SelectedDates.Countプロパティを参照します。また、選択されたセル数を取得するには、SelectedCells.Countプロパティを参照します。
[Visual Basic]
Console.WriteLine("選択された日数:{0}", GcCalendarGrid1.SelectedDates.Count)
Console.WriteLine("選択されたセル数:{0}", GcCalendarGrid1.SelectedCells.Count)
[C#]
Console.WriteLine("選択された日数:{0}", gcCalendarGrid1.SelectedDates.Count);
Console.WriteLine("選択されたセル数:{0}", gcCalendarGrid1.SelectedCells.Count);
[Visual Basic]
Console.WriteLine("選択された日数:{0}", GcCalendarGrid1.SelectedDates.Count)
Console.WriteLine("選択されたセル数:{0}", GcCalendarGrid1.SelectedCells.Count)
[C#]
Console.WriteLine("選択された日数:{0}", gcCalendarGrid1.SelectedDates.Count);
Console.WriteLine("選択されたセル数:{0}", gcCalendarGrid1.SelectedCells.Count);