ClassGridViewTimeSpanColumn
Inherits GridViewDataColumn and presents TimeSpan objects and defines the corresponding editor.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewTimeSpanColumn : GridViewDataColumn, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IEditorProvider, INotifyPropertyChangingEx, IContextMenuProvider, IDataConversionInfoProvider, IGridViewEventListener, ITypeDescriptorContext, IServiceProvider
Inheritance: objectDisposableObjectRadObjectGridViewColumnGridViewDataColumnGridViewTimeSpanColumn
Implements:
Inherited Members
Constructors
GridViewTimeSpanColumn()
Initializes a new instance of the GridViewTimeSpanColumn.
Declaration
public GridViewTimeSpanColumn()
GridViewTimeSpanColumn(string)
Initializes a new instance of the GridViewTimeSpanColumn.
Declaration
public GridViewTimeSpanColumn(string fieldName)
Parameters
fieldName
A string value referring to the unique name of the column.
GridViewTimeSpanColumn(string, string)
Initializes a new instance of the GridViewTimeSpanColumn.
Fields
MillisecondsStepProperty
Declaration
public static RadProperty MillisecondsStepProperty
Field Value
Properties
DataType
Gets or sets the data type of the column.
Declaration
[Browsable(true)]
[TypeConverter(typeof(DataTypeConverter))]
public override Type DataType { get; set; }
Property Value
Overrides
DaysStep
Gets or sets the days step used when modifying the value.
EditMode
Gets or sets a value indicating how the users will edit the TimeSpan value.
Declaration
public TimeSpanEditMode EditMode { 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
Format
Gets or sets the format of the TimeSpan displayed in the editor.
HoursStep
Gets or sets the hours step used when modifying the value.
Maximum
Gets or sets the maximum value.
Declaration
[Browsable(true)]
public TimeSpan Maximum { get; set; }
Property Value
MillisecondsStep
Gets or sets the milliseconds step used when modifying the value.
Minimum
Gets or sets the minimum value.
Declaration
[Browsable(true)]
public TimeSpan Minimum { get; set; }
Property Value
MinutesStep
Gets or sets the minutes step used when modifying the value.
SecondsStep
Gets or sets the seconds step used when modifying the 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