Spread Windows Forms 11.0 Product Documentation
BuildFields(String,String,String,String,String) Method


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > NumberDisplayFieldInfosBuilder Class > BuildFields Method : BuildFields(String,String,String,String,String) Method
A System.String value that indicates the pattern.
A System.String value that indicates the prefix string when value is positive.
A System.String value that indicates the suffix string when value is positive.
A System.String value that indicates the prefix string when value is negative.
A System.String value that indicates the suffix string when value is negative.
Builds a GrapeCity.Win.Spread.InputMan.CellType.Fields.NumberDisplayFieldInfo object using the specified format.
Syntax
'Declaration
 
Public Overloads Shared Function BuildFields( _
   ByVal pattern As String, _
   ByVal positivePrefix As String, _
   ByVal positiveSuffix As String, _
   ByVal negativePrefix As String, _
   ByVal negativeSuffix As String _
) As NumberDisplayFieldInfo()
'Usage
 
Dim pattern As String
Dim positivePrefix As String
Dim positiveSuffix As String
Dim negativePrefix As String
Dim negativeSuffix As String
Dim value() As NumberDisplayFieldInfo
 
value = NumberDisplayFieldInfosBuilder.BuildFields(pattern, positivePrefix, positiveSuffix, negativePrefix, negativeSuffix)

Parameters

pattern
A System.String value that indicates the pattern.
positivePrefix
A System.String value that indicates the prefix string when value is positive.
positiveSuffix
A System.String value that indicates the suffix string when value is positive.
negativePrefix
A System.String value that indicates the prefix string when value is negative.
negativeSuffix
A System.String value that indicates the suffix string when value is negative.
See Also

Reference

NumberDisplayFieldInfosBuilder Class
NumberDisplayFieldInfosBuilder Members
Overload List