| Visual Basic (Declaration) | |
|---|---|
Public Enum LeadingZero Inherits Enum | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public enum LeadingZero : Enum | |
| Member | Description |
|---|---|
| UseRegional | Displays leading zeros according to the Windows regional settings |
| No | Does not display leading zeros |
| Yes | Displays leading zeros |
This example shows how to display the leading zero in a numeric cell.
| 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() | |
Do not use the UseRegional setting: it is intended for future use to display leading zeros according to the Windows regional settings, but this setting is not implemented at this time.
For those properties that use this setting as a default, the default value is instead 1 (No), which specifies that no leading zero is displayed.
System.Object
System.ValueType
System.Enum
FarPoint.Win.Spread.CellType.LeadingZero