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
Initializes a new instance of the GridViewDateTimeColumn.
public GridViewDateTimeColumn()
Initializes a new instance of the GridViewDateTimeColumn.
Initializes a new instance of the GridViewDateTimeColumn.
public GridViewDateTimeColumn(string fieldName)
A string value referring to the unique name of the column.
Fields
Identifies the custom date/time format string passed to the selected editor.
public static RadProperty CustomFormatProperty
Identifies the DateTimeKind setting that controls how the column's converter interprets date/time values.
public static RadProperty DateTimeKindProperty
Identifies the Format property passed to the date/time editor.
public static RadProperty FormatProperty
Identifies the EditorType setting used to choose the date/time or time-only editor and its spin mode.
public static RadProperty GridViewDateTimeEditorTypeProperty
Properties
Gets or sets the custom date/time format string.
public string CustomFormat { get; set; }
Gets or sets the data type of the column.
public override Type DataType { get; set; }
Overrides:
Gets or sets the kind of the date time.
public DateTimeKind DateTimeKind { get; set; }
The kind of the date time.
Gets or sets the type of the editor.
[Browsable(true)]
public GridViewDateTimeEditorType EditorType { get; set; }
The type of the editor.
Gets or sets the type of the excel export.
public override DisplayFormatType ExcelExportType { get; set; }
The type of the excel export.
Overrides:
Gets or sets the filtering mode.
[Browsable(true)]
public GridViewTimeFilteringMode FilteringMode { get; set; }
The filtering mode.
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.
[Browsable(true)]
public GridViewTimePrecisionMode FilteringTimePrecision { get; set; }
The time part weight.
Gets or sets the format of the date and time displayed in the control.
public DateTimePickerFormat Format { get; set; }
Methods
Gets the type of the cell.
public override Type GetCellType(GridViewRowInfo row)
The row.
Returns:Overrides:
Gets the default data type converter.
protected override TypeConverter GetDefaultDataTypeConverter(Type type)
The type.
Returns:Overrides:
public override void InitializeEditor(IInputEditor editor)
Overrides: