Class GridViewDateTimeColumn
Inherits GridViewDataColumn and presents DateTime objects and defines the corresponding editor (Calendar)
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewDateTimeColumn : GridViewDataColumn, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IEditorProvider, INotifyPropertyChangingEx, IDataConversionInfoProvider, IGridViewEventListener, ITypeDescriptorContext, IServiceProvider
Constructors
GridViewDateTimeColumn()
Initializes a new instance of the GridViewDateTimeColumn.
Declaration
public GridViewDateTimeColumn()
See Also
GridViewDateTimeColumn(String)
Initializes a new instance of the GridViewDateTimeColumn.
Declaration
public GridViewDateTimeColumn(string fieldName)
Parameters
System.String
fieldName
A string value referring to the unique name of the column. |
See Also
GridViewDateTimeColumn(String, String)
Initializes a new instance of the GridViewDateTimeColumn.
Declaration
public GridViewDateTimeColumn(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. |
Fields
CustomFormatProperty
DateTimeKindProperty
FormatProperty
GridViewDateTimeEditorTypeProperty
Properties
CustomFormat
Gets or sets the custom date/time format string.
Declaration
public string CustomFormat { get; set; }
Property Value
System.String
|
DataType
Gets or sets the data type of the column.
Declaration
public override Type DataType { get; set; }
Property Value
System.Type
|
Overrides
DateTimeKind
Gets or sets the kind of the date time.
Declaration
public DateTimeKind DateTimeKind { get; set; }
Property Value
System.DateTimeKind
The kind of the date time. |
EditorType
Gets or sets the type of the editor.
Declaration
public GridViewDateTimeEditorType EditorType { get; set; }
Property Value
GridViewDateTimeEditorType
The type of the editor. |
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
FilteringMode
Gets or sets the filtering mode.
Declaration
public GridViewTimeFilteringMode FilteringMode { get; set; }
Property Value
GridViewTimeFilteringMode
The filtering mode. |
FilteringTimePrecision
Gets or sets the time part weight of the DateTime value while filtering. Given a DateTime value, the property determines whether the Hour, Minute, and Second time parts are evaluated.
Declaration
public GridViewTimePrecisionMode FilteringTimePrecision { get; set; }
Property Value
GridViewTimePrecisionMode
The time part weight. |
Format
Gets or sets the format of the date and time displayed in the control.
Declaration
public DateTimePickerFormat Format { get; set; }
Property Value
System.Windows.Forms.DateTimePickerFormat
|
Methods
GetCellType(GridViewRowInfo)
Gets the type of the cell.
Declaration
public override Type GetCellType(GridViewRowInfo row)
Parameters
GridViewRowInfo
row
The row. |
Returns
System.Type
|
Overrides
GetDefaultDataTypeConverter(Type)
Gets the default data type converter.
Declaration
protected override TypeConverter GetDefaultDataTypeConverter(Type type)
Parameters
System.Type
type
The type. |
Returns
System.ComponentModel.TypeConverter
|
Overrides
GetDefaultEditor()
GetDefaultEditorType()
Declaration
public override Type GetDefaultEditorType()
Returns
System.Type
|
Overrides
InitializeEditor(IInputEditor)
Declaration
public override void InitializeEditor(IInputEditor editor)
Parameters
IInputEditor
editor
|