Spread Windows Forms 12.0 Product Documentation
GetValue Method (SpreadDropDownMonthCalendar)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > SpreadDropDownMonthCalendar Class : GetValue Method
Gets the current value.
Syntax
'Declaration
 
Public Function GetValue() As Object
'Usage
 
Dim instance As SpreadDropDownMonthCalendar
Dim value As Object
 
value = instance.GetValue()
public object GetValue()
Example
This example gets the calendar value.
//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.SpreadDropDownMonthCalendar calendar = new FarPoint.Win.Spread.CellType.SpreadDropDownMonthCalendar();          
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.SpreadDropDownMonthCalendar()
dtest.SubEditor = calendar
FpSpread1.Sheets(0).Cells(0, 0).CellType = dtest
ListBox1.Items.Add(calendar.GetValue().ToString())
See Also

Reference

SpreadDropDownMonthCalendar Class
SpreadDropDownMonthCalendar Members