ClassGridViewDateTimeColumn
Inherits GridViewDataColumn and presents DateTime objects and defines the corresponding editor (Calendar)
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewDateTimeColumn : GridViewDataColumn, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IEditorProvider, INotifyPropertyChangingEx, IContextMenuProvider, IDataConversionInfoProvider, IGridViewEventListener, ITypeDescriptorContext, IServiceProvider
Inheritance: objectDisposableObjectRadObjectGridViewColumnGridViewDataColumnGridViewDateTimeColumn
Implements:
Inherited Members
Constructors
GridViewDateTimeColumn()
Initializes a new instance of the GridViewDateTimeColumn.
Declaration
public GridViewDateTimeColumn()
GridViewDateTimeColumn(string)
Initializes a new instance of the GridViewDateTimeColumn.
Declaration
public GridViewDateTimeColumn(string fieldName)
Parameters
fieldName
A string value referring to the unique name of the column.
GridViewDateTimeColumn(string, string)
Initializes a new instance of the GridViewDateTimeColumn.
Fields
CustomFormatProperty
Declaration
public static RadProperty CustomFormatProperty
Field Value
DateTimeKindProperty
Declaration
public static RadProperty DateTimeKindProperty
Field Value
GridViewDateTimeEditorTypeProperty
Declaration
public static RadProperty GridViewDateTimeEditorTypeProperty
Field Value
Properties
CustomFormat
Gets or sets the custom date/time format string.
DataType
Gets or sets the data type of the column.
Declaration
public override Type DataType { get; set; }
Property Value
Overrides
DateTimeKind
Gets or sets the kind of the date time.
Declaration
public DateTimeKind DateTimeKind { get; set; }
Property Value
The kind of the date time.
EditorType
Gets or sets the type of the editor.
Declaration
[Browsable(true)]
public GridViewDateTimeEditorType EditorType { get; set; }
Property Value
The type of the editor.
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
FilteringMode
Gets or sets the filtering mode.
Declaration
[Browsable(true)]
public GridViewTimeFilteringMode FilteringMode { get; set; }
Property Value
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
[Browsable(true)]
public GridViewTimePrecisionMode FilteringTimePrecision { get; set; }
Property Value
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
Methods
GetCellType(GridViewRowInfo)
Gets the type of the cell.
Declaration
public override Type GetCellType(GridViewRowInfo row)
Parameters
row
The row.
Returns
Overrides
GetDefaultDataTypeConverter(Type)
Gets the default data type converter.
Declaration
protected override TypeConverter GetDefaultDataTypeConverter(Type type)
Parameters
type
The type.
Returns
Overrides
GetDefaultEditor()
Declaration
public override IInputEditor GetDefaultEditor()
Returns
Overrides
InitializeEditor(IInputEditor)
Declaration
public override void InitializeEditor(IInputEditor editor)
Parameters
editor
Overrides