作成日: 2024/01/19 最終更新日: 2024/01/31
文書種別
使用方法
詳細
日付および、行とセルのインデックスを使用して特定のセルを参照できるので、Valueプロパティでセルに値を設定できます。
[Visual Basic]
GcCalendarGrid1.Content(New DateTime(2014, 6, 25)).Rows(1).Cells(0).Value = "CalendarGrid"
[C#]
gcCalendarGrid1.Content[new DateTime(2014, 6, 25)].Rows[1].Cells[0].Value = "CalendarGrid";
また、セルのNameプロパティにセルの名前が設定されている場合は、セルの名前を使用してセルを参照できます。
[Visual Basic]
GcCalendarGrid1.Content(New DateTime(2014, 6, 25))("製品名").Value = "CalendarGrid"
[C#]
gcCalendarGrid1.Content[new DateTime(2014, 6, 25)]["製品名"].Value = "CalendarGrid";
[Visual Basic]
GcCalendarGrid1.Content(New DateTime(2014, 6, 25)).Rows(1).Cells(0).Value = "CalendarGrid"
[C#]
gcCalendarGrid1.Content[new DateTime(2014, 6, 25)].Rows[1].Cells[0].Value = "CalendarGrid";
また、セルのNameプロパティにセルの名前が設定されている場合は、セルの名前を使用してセルを参照できます。
[Visual Basic]
GcCalendarGrid1.Content(New DateTime(2014, 6, 25))("製品名").Value = "CalendarGrid"
[C#]
gcCalendarGrid1.Content[new DateTime(2014, 6, 25)]["製品名"].Value = "CalendarGrid";