Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace / NumberIntegerPartDisplayFieldInfo Class / GroupSizes Property


In This Topic
    GroupSizes Property (NumberIntegerPartDisplayFieldInfo)
    In This Topic
    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".
    See Also