GrapeCity SPREAD for Windows Forms 12.0J
GetValue メソッド (SpreadMonthCalendar)


現在の値のSpreadMonthCalendarを取得します。
構文
'Declaration
 
Public Function GetValue() As Object
'使用法
 
Dim instance As SpreadMonthCalendar
Dim value As Object
 
value = instance.GetValue()
public object GetValue()
次のサンプルコードは、カレンダーの値を取得します。
//Press F4 on the cell to see the calendar
FarPoint.Win.Spread.CellType.DateTimeCellType dtest = new FarPoint.Win.Spread.CellType.DateTimeCellType();
dtest.SimpleEdit = true;
FarPoint.Win.Spread.CellType.SpreadMonthCalendar calendar = new FarPoint.Win.Spread.CellType.SpreadMonthCalendar();           
dtest.SubEditor = calendar;
fpSpread1.Sheets[0].Cells[0, 0].CellType = dtest;
listBox1.Items.Add(calendar.GetValue().ToString());
'Press F4 on the cell to see the calendar
Dim dtest As New FarPoint.Win.Spread.CellType.DateTimeCellType()
dtest.SimpleEdit = True
Dim calendar As New FarPoint.Win.Spread.CellType.SpreadMonthCalendar()
dtest.SubEditor = calendar
FpSpread1.Sheets(0).Cells(0, 0).CellType = dtest
ListBox1.Items.Add(calendar.GetValue().ToString())
参照

SpreadMonthCalendar クラス
SpreadMonthCalendar メンバ

 

 


Copyright © 2004 GrapeCity inc.