ConfigureCellNumericUpDown |
Top Previous Next |
Specifies the attributes of a NumericUpDown column for the grid in edit mode.
Parameters SectionIndex Specifies the index (0-based) of the section in which configuring occurs. If the AllowSections is set to FALSE, this parameter becomes irrelevant. If it is set to TRUE, your code can set this parameter to -1 to let configuring take effect for all sections. ColumnIndex Specifies the index (0-based) of the column. MaxValue Specifies the maximum value for the spin box. MinValue Specifies the minimum value for the spin box. DecimalPlaces Specifies the number of decimal places to display in the spin box. Increment Specifies the value to increase or decrease the Value property when the up or down buttons are clicked on the spin box. ThousandsSeparator Indicates whether a thousands separator is displayed in the spin box if applicable. UpDownAlign Indicates whether the up or down buttons are left or right aligned.
Return Value: If the operation is successful, it returns TRUE; otherwise it returns FALSE. |