Class GridViewDecimalColumn
Inherits GridViewDataColumn and presents decimal values
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewDecimalColumn : GridViewDataColumn, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IEditorProvider, INotifyPropertyChangingEx, IDataConversionInfoProvider, IGridViewEventListener, ITypeDescriptorContext, IServiceProvider
Constructors
GridViewDecimalColumn()
Initializes a new instance of the GridViewDecimalColumn.
Declaration
public GridViewDecimalColumn()
See Also
GridViewDecimalColumn(String)
Initializes a new instance of the GridViewDecimalColumn.
Declaration
public GridViewDecimalColumn(string fieldName)
Parameters
System.String
fieldName
A string value referring to the unique name of the column. |
See Also
GridViewDecimalColumn(String, String)
Initializes a new instance of the GridViewDecimalColumn.
Declaration
public GridViewDecimalColumn(string uniqueName, string fieldName)
Parameters
System.String
uniqueName
A string value referring to the unique name of the column. |
System.String
fieldName
A string value referring to the field name to which the column is bound. |
GridViewDecimalColumn(Type, String, String)
Initializes a new instance of the GridViewDecimalColumn.
Declaration
public GridViewDecimalColumn(Type numericType, string uniqueName, string fieldName)
Parameters
System.Type
numericType
The numeric type of the column. |
System.String
uniqueName
A string value referring to the unique name of the column. |
System.String
fieldName
A string value referring to the field name to which the column is bound. |
Fields
DecimalPlacesProperty
MaximumProperty
MinimumProperty
ShowUpDownButtonsProperty
StepProperty
ThousandsSeparatorProperty
Properties
DataType
Gets or sets the data type of the column.
Declaration
public override Type DataType { get; set; }
Property Value
System.Type
|
Overrides
DecimalPlaces
Gets or sets the number of decimal places to display in the GridSpinEditor.
Declaration
public int DecimalPlaces { get; set; }
Property Value
System.Int32
|
ExcelExportType
Gets or sets the type of the excel export.
Declaration
public override DisplayFormatType ExcelExportType { get; set; }
Property Value
DisplayFormatType
The type of the excel export. |
Overrides
Maximum
Gets or sets a value indicating the maximum value for the GridSpinEditor.
Declaration
public decimal Maximum { get; set; }
Property Value
System.Decimal
|
Minimum
Gets or sets a value indicating the minimum value for the GridSpinEditor.
Declaration
public decimal Minimum { get; set; }
Property Value
System.Decimal
|
ShowUpDownButtons
Gets or sets the whether GridSpinEditor will be used as a numeric textbox.
Declaration
public bool ShowUpDownButtons { get; set; }
Property Value
System.Boolean
|
Step
Gets or sets the amount to increment or decrement from the current value of the GridSpinEditor.
Declaration
public decimal Step { get; set; }
Property Value
System.Decimal
|
TextAlignment
Gets or sets a value indicating the position of the cell content within a column's cells.
Declaration
public override ContentAlignment TextAlignment { get; set; }
Property Value
System.Drawing.ContentAlignment
|
Overrides
ThousandsSeparator
Gets or sets a value indicating whether the thousands separator will be displayed in the GridSpinEditor.
Declaration
public bool ThousandsSeparator { get; set; }
Property Value
System.Boolean
|
Methods
GetDefaultEditor()
GetDefaultEditorType()
Declaration
public override Type GetDefaultEditorType()
Returns
System.Type
|
Overrides
InitializeEditor(IInputEditor)
Declaration
public override void InitializeEditor(IInputEditor editor)
Parameters
IInputEditor
editor
|