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