ConfigureCellTimePicker

Top  Previous  Next

Specifies the attributes of a TimePicker column for the grid in edit mode.

[Visual Basic .NET]

Public Function ConfigureCellTimePicker(ByVal SectionIndex As Integer,

                                                           ByVal ColumnIndex As Integer,

                                                           ByVal CustomFormat As String) As Boolean

[C#]

public bool ConfigureCellTimePicker(int SectionIndex,

                                                    int ColumnIndex,

                                                    string CustomFormat);

Parameters

SectionIndex

Specifies the index (0-based) of the section in which configuring occurs. If the AllowSections is set to FALSE, this parameter becomes irrelevant. If it is set to TRUE, your code can set this parameter to -1 to let configuring take effect for all sections.

ColumnIndex

Specifies the index (0-based) of the column.

CustomFormat

Specifies the custom format of TimePicker (e.g. "hh:mm").

 

Return Value:

If the operation is successful, it returns TRUE; otherwise it returns FALSE.