Class GridViewTimeSpanColumn
Inherits GridViewDataColumn and presents TimeSpan objects and defines the corresponding editor.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewTimeSpanColumn : GridViewDataColumn, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IEditorProvider, INotifyPropertyChangingEx, IDataConversionInfoProvider, IGridViewEventListener, ITypeDescriptorContext, IServiceProvider
Constructors
GridViewTimeSpanColumn()
Initializes a new instance of the GridViewTimeSpanColumn.
Declaration
public GridViewTimeSpanColumn()
See Also
GridViewTimeSpanColumn(String)
Initializes a new instance of the GridViewTimeSpanColumn.
Declaration
public GridViewTimeSpanColumn(string fieldName)
Parameters
System.String
fieldName
A string value referring to the unique name of the column. |
See Also
GridViewTimeSpanColumn(String, String)
Initializes a new instance of the GridViewTimeSpanColumn.
Declaration
public GridViewTimeSpanColumn(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
DaysStepProperty
EditModeProperty
FormatProperty
HoursStepProperty
MaximumProperty
MillisecondsStepProperty
MinimumProperty
MinutesStepProperty
SecondsStepProperty
Properties
DataType
Gets or sets the data type of the column.
Declaration
public override Type DataType { get; set; }
Property Value
System.Type
|
Overrides
DaysStep
Gets or sets the days step used when modifying the value.
Declaration
public int DaysStep { get; set; }
Property Value
System.Int32
|
EditMode
Gets or sets a value indicating how the users will edit the TimeSpan value.
Declaration
public TimeSpanEditMode EditMode { get; set; }
Property Value
TimeSpanEditMode
|
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
Format
Gets or sets the format of the TimeSpan displayed in the editor.
Declaration
public string Format { get; set; }
Property Value
System.String
|
HoursStep
Gets or sets the hours step used when modifying the value.
Declaration
public int HoursStep { get; set; }
Property Value
System.Int32
|
Maximum
Gets or sets the maximum value.
Declaration
public TimeSpan Maximum { get; set; }
Property Value
System.TimeSpan
|
MillisecondsStep
Gets or sets the milliseconds step used when modifying the value.
Declaration
public int MillisecondsStep { get; set; }
Property Value
System.Int32
|
Minimum
Gets or sets the minimum value.
Declaration
public TimeSpan Minimum { get; set; }
Property Value
System.TimeSpan
|
MinutesStep
Gets or sets the minutes step used when modifying the value.
Declaration
public int MinutesStep { get; set; }
Property Value
System.Int32
|
SecondsStep
Gets or sets the seconds step used when modifying the value.
Declaration
public int SecondsStep { get; set; }
Property Value
System.Int32
|
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
|