Class GridViewDataColumn
GridViewDataColumn inherits Grid
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public abstract class GridViewDataColumn : GridViewColumn, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IEditorProvider, INotifyPropertyChangingEx, IDataConversionInfoProvider, IGridViewEventListener, ITypeDescriptorContext, IServiceProvider
Constructors
GridViewDataColumn()
GridViewDataColumn(String)
Initializes a new instance of the Grid
Declaration
public GridViewDataColumn(string fieldName)
Parameters
System. A string value referring to the unique name of the column. |
GridViewDataColumn(String, String)
Initializes a new instance of the Grid
Declaration
public GridViewDataColumn(string uniqueName, string fieldName)
Parameters
System. A string value referring to the unique name of the column. |
System. A string value referring to the field name to which the column is bound. |
Fields
AllowCellMergingProperty
AllowFilteringProperty
AllowNaturalSortProperty
AllowSearchingProperty
AutoFilterDelayProperty
DataEditFormatStringProperty
DataSourceNullValueProperty
DataTypeConverterProperty
DataTypeProperty
excelFormat
FormatInfoProperty
FormatStringProperty
NullValueProperty
UseDataTypeConverterWhenSortingProperty
Declaration
public static RadProperty UseDataTypeConverterWhenSortingProperty
Field Value
Properties
AllowCellMerging
Gets or sets value indicating whether cells in the column can be merged.
Declaration
public virtual bool AllowCellMerging { get; set; }
Property Value
System.
|
AllowFiltering
Gets or sets a value indicating whether the user can filter by this column.
Declaration
public virtual bool AllowFiltering { get; set; }
Property Value
System.
|
AllowNaturalSort
Gets or sets a value indicating whether clicking on the header cell of this column would allow the user to set natural (no) sort.
Declaration
public virtual bool AllowNaturalSort { get; set; }
Property Value
System.
|
AllowSearching
Gets or sets a value indicating whether the user can search by this column.
Declaration
public virtual bool AllowSearching { get; set; }
Property Value
System.
|
AutoFilterDelay
Gets or set the value in Milliseconds indicating delay between last key press and filtering operation."
Declaration
public virtual int AutoFilterDelay { get; set; }
Property Value
System.
|
DataSourceNullValue
Gets or sets a value to the data source when the user enters a null value into a cell
Declaration
public object DataSourceNullValue { get; set; }
Property Value
System.
|
Implements
DataType
Gets or sets the data type of the column.
Declaration
public virtual Type DataType { get; set; }
Property Value
System.
|
Implements
DataTypeConverter
Gets or sets the data type converter.
Declaration
public TypeConverter DataTypeConverter { get; set; }
Property Value
System. The data type converter. |
Implements
DesiredEvents
Gets the event type(s) this listener needs to process.
Declaration
public GridEventType DesiredEvents { get; }
Property Value
Implements
DesiredProcessMode
Gets the event process mode for this instance.
Declaration
public GridEventProcessMode DesiredProcessMode { get; }
Property Value
Implements
DistinctValues
Gets the distinct values.
Declaration
public virtual GridViewColumnValuesCollection DistinctValues { get; }
Property Value
Grid The distinct values. |
DistinctValuesWithFilter
Gets the distinct values with filter.
Declaration
public virtual GridViewColumnValuesCollection DistinctValuesWithFilter { get; }
Property Value
Grid The distinct values with filter. |
ExcelExportFormatString
Gets or sets the excel export format string. Note that this format is considered only if Excel
Declaration
public string ExcelExportFormatString { get; set; }
Property Value
System. The excel export format string. |
ExcelExportType
Gets or sets the type of the excel export.
Declaration
public virtual DisplayFormatType ExcelExportType { get; set; }
Property Value
Display The type of the excel export. |
FilterDescriptor
Gets or sets the filter descriptor.
Declaration
public virtual FilterDescriptor FilterDescriptor { get; set; }
Property Value
Filter The filter descriptor. |
FormatInfo
Gets or sets the culture info used when formatting cell values.
Declaration
[SerializationConverter(typeof(FormatInfoSerializationCoverter))]
public CultureInfo FormatInfo { get; set; }
Property Value
System.
|
Implements
FormatString
Gets or sets the format string applied to the textual content of each cell in the column.
Declaration
public string FormatString { get; set; }
Property Value
System.
|
Implements
NullValue
Gets or sets the cell display value corresponding to a cell value of System.DBNull or null
Declaration
public object NullValue { get; set; }
Property Value
System.
|
Implements
Priority
Gets the priority of the current instance.
Declaration
public EventListenerPriority Priority { get; }
Property Value
Implements
UseDataTypeConverterWhenSorting
Gets or sets a value indicating whether the data type converter of this column should be used when sorting.
Declaration
public bool UseDataTypeConverterWhenSorting { get; set; }
Property Value
System.
|
Methods
AnalyzeQueue(List<GridViewEvent>)
Declaration
public bool AnalyzeQueue(List<GridViewEvent> events)
Parameters
System.
|
Returns
System.
|
Implements
CreateSnapshot()
Creates the snapshot.
Declaration
public void CreateSnapshot()
GetCellType(GridViewRowInfo)
Returns the type of cell element to be created for the specified row.
Declaration
public override Type GetCellType(GridViewRowInfo row)
Parameters
Grid The specified row. |
Returns
System. The type of the cell to be created. |
Overrides
GetDefaultDataTypeConverter(Type)
Gets the default data type converter.
Declaration
protected virtual TypeConverter GetDefaultDataTypeConverter(Type type)
Parameters
System. The type. |
Returns
System.
|
GetDistinctValues()
Gets the distinct values.
Declaration
protected virtual GridViewColumnValuesCollection GetDistinctValues()
Returns
GetDistinctValuesWithFilter()
Gets the distinct values with filter.
Declaration
protected virtual GridViewColumnValuesCollection GetDistinctValuesWithFilter()
Returns
GetEventInfo(RadProperty, out GridEventDispatchMode)
Gets the event info.
Declaration
protected override GridEventType GetEventInfo(RadProperty property, out GridEventDispatchMode dispatchMode)
Parameters
Rad The property. |
Grid The dispatch mode. |
Returns
Overrides
Initialize()
Initializes the column.
Declaration
protected override void Initialize()
Overrides
Remarks
This method is called when the column is associated with GridViewTemplate.
OnNotifyPropertyChanging(PropertyChangingEventArgsEx)
Declaration
protected override void OnNotifyPropertyChanging(PropertyChangingEventArgsEx e)
Parameters
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
PostProcessEvent(GridViewEvent)
Allows additional processing of an event that has been just dispatched.
Declaration
public GridViewEventResult PostProcessEvent(GridViewEvent eventData)
Parameters
Grid
|
Returns
Implements
PreProcessEvent(GridViewEvent)
Allows previewing of an event that is about to be dispatched.
Declaration
public GridViewEventResult PreProcessEvent(GridViewEvent eventData)
Parameters
Grid
|
Returns
Implements
ProcessEvent(GridViewEvent)
Core entry point for receiving and processing an event.
Declaration
public GridViewEventResult ProcessEvent(GridViewEvent eventData)
Parameters
Grid
|
Returns
Implements
ToString()
Returns a string representation of the column.
Declaration
public override string ToString()
Returns
System. The string representation for the column. |
Overrides
UpdateDistinctValues()
Updates the distinct values.
Declaration
protected virtual void UpdateDistinctValues()
UpdateDistinctValuesOnAdd(Object)
Updates the distinct values on add.
Declaration
protected virtual void UpdateDistinctValuesOnAdd(object value)
Parameters
System. The value. |
UpdateDistinctValuesOnAddWithFilter(Object)
Updates the distinct values on add with filter.
Declaration
protected virtual void UpdateDistinctValuesOnAddWithFilter(object value)
Parameters
System. The value. |
UpdateDistinctValuesWithFilter()
Updates the distinct values with filter.
Declaration
protected virtual void UpdateDistinctValuesWithFilter()
Explicit Interface Implementations
IServiceProvider.GetService(Type)
Declaration
object IServiceProvider.GetService(Type serviceType)
Parameters
System.
|
Returns
System.
|