Spread Windows Forms 9.0 Product Documentation
GroupSizes Property (NumberIntegerPartDisplayFieldInfo)


Gets or sets the number of digits in each group to the left of the decimal in numeric values.
Syntax
'Declaration
 
Public Property GroupSizes As Integer()
'Usage
 
Dim instance As NumberIntegerPartDisplayFieldInfo
Dim value() As Integer
 
instance.GroupSizes = value
 
value = instance.GroupSizes
public int[] GroupSizes {get; set;}

Property Value

The number of digits in each group to the left of the decimal in numeric values. The default for InvariantInfo is a one-dimensional array with only one element, which is set to 3.
Remarks
Every element in the one-dimensional array must be an integer from 1 through 9. The last element can be 0. The first element of the array defines the number of elements in the least significant group of digits immediately to the left of the NumberDecimalSeparator. Each subsequent element refers to the next significant group of digits to the left of the previous group. If the last element of the array is not 0, the remaining digits are grouped based on the last element of the array. If the last element is 0, the remaining digits are not grouped. For example, if the array contains { 3, 4, 5 }, the digits will be grouped similar to "55,55555,55555,55555,4444,333.00". If the array contains { 3, 4, 0 }, the digits will be grouped similar to "55555555555555555,4444,333.00".
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

NumberIntegerPartDisplayFieldInfo Class
NumberIntegerPartDisplayFieldInfo Members

 

 


Copyright © GrapeCity, inc. All rights reserved.