[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.DateTimeCellType.SetCalendarText

SetCalendarText Method

SetCalendarText(string[], string[], string[], string[], string, string)

Sets the various text elements for the pop-up calendar,
including the day and month names and the button text.

Declaration
[Browsable(false)]
public void SetCalendarText(string[] dayNames, string[] monthNames, string[] shortdayNames, string[] shortmonthNames, string okText, string cancelText)
<Browsable(False)>
Public Sub SetCalendarText(dayNames As String(), monthNames As String(), shortdayNames As String(), shortmonthNames As String(), okText As String, cancelText As String)
Parameters
Type Name Description
string[] dayNames

Set of day names

string[] monthNames

Set of month names

string[] shortdayNames

Set of abbreviated day names

string[] shortmonthNames

Set of abbreviated month names

string okText

Text for the OK button

string cancelText

Text for the Cancel button

SetCalendarText(string[], string[], string[], string[], string, string, string)

Sets the various text elements for the pop-up calendar,
including the day and month names, the today text, and the button text.

Declaration
[Browsable(false)]
public void SetCalendarText(string[] dayNames, string[] monthNames, string[] shortdayNames, string[] shortmonthNames, string okText, string cancelText, string currentText)
<Browsable(False)>
Public Sub SetCalendarText(dayNames As String(), monthNames As String(), shortdayNames As String(), shortmonthNames As String(), okText As String, cancelText As String, currentText As String)
Parameters
Type Name Description
string[] dayNames

Set of day names

string[] monthNames

Set of month names

string[] shortdayNames

Set of abbreviated day names

string[] shortmonthNames

Set of abbreviated month names

string okText

Text for the OK button

string cancelText

Text for the Cancel button

string currentText

Text for the Today button or Now button

SetCalendarText(string, string)

Sets the various text elements for the pop-up calendar, namely the button text.

Declaration
[Browsable(false)]
public void SetCalendarText(string okText, string cancelText)
<Browsable(False)>
Public Sub SetCalendarText(okText As String, cancelText As String)
Parameters
Type Name Description
string okText

Text for the OK button

string cancelText

Text for the Cancel button