[]
Builds an array of NumberDisplayField by the specified format.
public static NumberDisplayField[] BuildFields(string format)
Public Shared Function BuildFields(format As String) As NumberDisplayField()
| Type | Name | Description |
|---|---|---|
| string | format | The specify format defined by GcNumber control. |
| Type | Description |
|---|---|
| NumberDisplayField[] | An array of NumberDisplayField indicate the build GcNumber fields. |
| Type | Condition |
|---|---|
| ArgumentException | When the format has some invalid chars. |
Builds an array of NumberDisplayField by the specified format.
public static NumberDisplayField[] BuildFields(string pattern, string positivePrefix, string positiveSuffix, string negativePrefix, string negativeSuffix)
Public Shared Function BuildFields(pattern As String, positivePrefix As String, positiveSuffix As String, negativePrefix As String, negativeSuffix As String) As NumberDisplayField()
| Type | Name | Description |
|---|---|---|
| string | pattern | A string value indicates the pattern. |
| string | positivePrefix | A string value indicates the prefix string when value is positive. |
| string | positiveSuffix | A string value indicates the suffix string when value is positive. |
| string | negativePrefix | A string value indicates the prefix string when value is negative. |
| string | negativeSuffix | A string value indicates the suffix string when value is negative. |
| Type | Description |
|---|---|
| NumberDisplayField[] | An array of NumberDisplayField indicate the build GcNumber fields. |