Class GridNumericColumn
Represents a column that is used to display the numeric values in its cells and host numeric TextBox in edit mode.
Inheritance
System.Object
GridNumericColumn
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Syncfusion.WinForms.DataGrid
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class GridNumericColumn : GridColumn, IDisposable, IFilterDefinition
Constructors
GridNumericColumn()
Initializes a new instance of the GridNumericColumn class.
Declaration
public GridNumericColumn()
Properties
AllowNull
Gets or sets a value indicating whether the null value is allowed for the column.
Declaration
[Cloneable(true)]
public bool AllowNull { get; set; }
Property Value
Type |
---|
System.Boolean |
FormatMode
Gets or sets a value indicating the input mode of the column.
Declaration
[Cloneable(true)]
public FormatMode FormatMode { get; set; }
Property Value
Type |
---|
FormatMode |
InterceptArrowKeys
Gets or sets a value indicating whether the value can be changed using the UP ARROW and DOWN ARROW keys.
Declaration
[Cloneable(true)]
public bool InterceptArrowKeys { get; set; }
Property Value
Type |
---|
System.Boolean |
MaxValue
Gets or sets a value indicating the maximum value of the column.
Declaration
[Cloneable(true)]
public double MaxValue { get; set; }
Property Value
Type |
---|
System.Double |
MinValue
Gets or sets a value indicating the minimum value of the column.
Declaration
[Cloneable(true)]
public double MinValue { get; set; }
Property Value
Type |
---|
System.Double |
NumberFormatInfo
Gets or sets a value indicating the System.Globalization.NumberFormatInfo of the column.
Declaration
[Cloneable(true)]
public NumberFormatInfo NumberFormatInfo { get; set; }
Property Value
Type |
---|
System.Globalization.NumberFormatInfo |
Methods
GetFormattedValue(Object, Object)
Overridden to get the formatted display text.
Declaration
protected override object GetFormattedValue(object record, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | record | A record value. |
System.Object | value | Display text value. |
Returns
Type | Description |
---|---|
System.Object | Returns the formatted value. |
Overrides
Implements
System.IDisposable