Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / DateDisplayFieldsBuilder Class / BuildFields Method
The specify format defined by date control.


In This Topic
    BuildFields Method (DateDisplayFieldsBuilder)
    In This Topic
    Builds some DateDisplayField by the specified format.
    Syntax
    'Declaration
     
    Public Shared Function BuildFields( _
       ByVal format As String _
    ) As DateDisplayField()
    'Usage
     
    Dim format As String
    Dim value() As DateDisplayField
     
    value = DateDisplayFieldsBuilder.BuildFields(format)
    public static DateDisplayField[] BuildFields( 
       string format
    )

    Parameters

    format
    The specify format defined by date control.

    Return Value

    A DateDisplayField array indicate the build date fields.
    Exceptions
    ExceptionDescription
    When format has some invalid chars that can't be translated.
    Remarks
    User can invoke this method to build an array of DateDisplayField.
    See Also