| Visual Basic (Declaration) | |
|---|---|
Public Enum NegativeFormat Inherits Enum | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public enum NegativeFormat : Enum | |
| Member | Description |
|---|---|
| UseRegional | [-1] Displays the value according to the Windows regional settings |
| Parentheses | [0] Displays the value within parentheses, as in (1) |
| NegativeSignBefore | Displays the negative sign before (to the left) of the value, as in -1 |
| NegativeSignBeforeWithSpace | Displays the negative sign with space before (to the left) of the value, as in - 1 |
| NegativeSignAfter | Displays the negative sign after (to the right) of the value, as in 1- |
| NegativeSignAfterWithSpace | Displays the negative sign with space after (to the right) of the value, as in 1 - |
This example specifies that the negative sign with a space before the value is displayed in a numeric cell with a negative value.
| C# | Copy Code |
|---|---|
FarPoint.Win.Spread.CellType.NumberCellType numct = new FarPoint.Win.Spread.CellType.NumberCellType(); | |
| Visual Basic | Copy Code |
|---|---|
Dim numct As New FarPoint.Win.Spread.CellType.NumberCellType() | |
System.Object
System.ValueType
System.Enum
FarPoint.Win.Spread.CellType.NegativeFormat