Click or drag to resize
GridViewDataColumn Class
GridViewDataColumn inherits GridViewColumn and is base for all data-bound columns.
Inheritance Hierarchy
SystemObject
  Telerik.WinControlsDisposableObject
    Telerik.WinControlsRadObject
      Telerik.WinControls.UIGridViewColumn
        Telerik.WinControls.UIGridViewDataColumn
          More...

Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView (in Telerik.WinControls.GridView.dll) Version: 2018.3.1016.40 (2018.3.1016.40)
Syntax
public abstract class GridViewDataColumn : GridViewColumn, 
	IDataConversionInfoProvider, IGridViewEventListener, ITypeDescriptorContext, IServiceProvider

The GridViewDataColumn type exposes the following members.

Constructors
  NameDescription
Public methodGridViewDataColumn
Initializes a new instance of the GridViewDataColumn.
Public methodGridViewDataColumn(String)
Initializes a new instance of the GridViewDataColumn.
Public methodGridViewDataColumn(String, String)
Initializes a new instance of the GridViewDataColumn.
Top
Properties
  NameDescription
Public propertyAllowFiltering
Gets or sets a value indicating whether the user can filter by this column.
Public propertyAllowGroup
Gets or sets a value indicating whether the user can group data based on the content of this column.
(Inherited from GridViewColumn.)
Public propertyAllowHide
Gets or sets value indicating whether the user can hide the column.
(Inherited from GridViewColumn.)
Public propertyAllowNaturalSort
Gets or sets a value indicating whether clicking on the header cell of this column would allow the user to set natural (no) sort.
Public propertyAllowReorder
Gets or sets a value indicating whether the user can reorder this column using the mouse.
(Inherited from GridViewColumn.)
Public propertyAllowResize
Gets or sets value indicating whether the user can resize the column.
(Inherited from GridViewColumn.)
Public propertyAllowSearching
Gets or sets a value indicating whether the user can search by this column.
Public propertyAllowSort
Gets or sets a value indicating whether the user can sort the data in the OwnerTemplate based on the contents of this column.
(Inherited from GridViewColumn.)
Public propertyAutoEllipsis (Inherited from GridViewColumn.)
Public propertyAutoSizeMode
Gets or sets the mode by which the column automatically adjusts its width after BestFit is executed.
(Inherited from GridViewColumn.)
Public propertyBindingContext
Gets or sets the BindingContext for the object.
(Inherited from RadObject.)
Protected propertyBitState
Gets the RadBitVector64 structure that holds all the bit states of the object.
(Inherited from DisposableObject.)
Public propertyConditionalFormattingObjectList
Gets list of BaseFormattingObject instances that define the currently applied conditional formatting of the data in the column.
(Inherited from GridViewColumn.)
Public propertyDataSourceNullValue
Gets or sets a value to the data source when the user enters a null value into a cell
Public propertyDataType
Gets or sets the data type of the column.
Public propertyDataTypeConverter
Public propertyDesiredEvents
Public propertyDesiredProcessMode
Public propertyDisableHTMLRendering
Disable or Enable HTML-like text rendering in the column.
(Inherited from GridViewColumn.)
Public propertyDistinctValues
Public propertyDistinctValuesWithFilter
Public propertyDpiScale (Inherited from GridViewColumn.)
Public propertyEnableExpressionEditor
Gets or sets the value indicating if expression editor menu item will be available to the user.
(Inherited from GridViewColumn.)
Protected propertyEventDispatcher (Inherited from GridViewColumn.)
Protected propertyEvents
Provides a simple list of delegates.
(Inherited from DisposableObject.)
Public propertyExcelExportFormatString
Gets or sets the excel export format string. Note that this format is considered only if property is set to Custom.
Public propertyExcelExportType
Gets or sets the type of the excel export.
Public propertyExpression
Gets or sets the expression used to calculate the values of this column.
(Inherited from GridViewColumn.)
Public propertyFieldName
Gets or sets the name data source property or database column to which the GridViewDataColumn is bound.
(Inherited from GridViewColumn.)
Public propertyFilterDescriptor
Gets or sets the filter descriptor.
Public propertyFormatInfo
Gets or sets the culture info used when formatting cell values.
Public propertyFormatString
Gets or sets the format string applied to the textual content of each cell in the column.
Public propertyHeaderImage
Gets or set the ColumnInfo Header image.
(Inherited from GridViewColumn.)
Public propertyHeaderText
Gets or sets the caption text on the column's header cell.
(Inherited from GridViewColumn.)
Public propertyHeaderTextAlignment
Gets or sets a value indicating the position of the HeaderText within the header cell.
(Inherited from GridViewColumn.)
Public propertyImageLayout
Gets or sets the image layout of the image inside the cells.
(Inherited from GridViewColumn.)
Public propertyIndex
Gets a value indicating the position of the column in the Columns collection of the OwnerTemplate.
(Inherited from GridViewColumn.)
Public propertyIsAutoGenerated
Gets value indicating whether the current column is automatically created when the RadGridView is being bound to a data source.
(Inherited from GridViewColumn.)
Public propertyIsCurrent
Gets value indicating whether the column contains the currently selected cell in the OwnerTemplate.
(Inherited from GridViewColumn.)
Public propertyIsDataBound
Gets a value indicating whether the column is bound to the data field referred by FieldName.
(Inherited from GridViewColumn.)
Public propertyIsDesignMode
Determines whether the element is in design mode.
(Inherited from RadObject.)
Public propertyIsDisposed
Determines whether the object is already disposed.
(Inherited from DisposableObject.)
Public propertyIsDisposing
Determines whether the object is in a process of being disposed of.
(Inherited from DisposableObject.)
Public propertyIsFieldNamePath (Inherited from GridViewColumn.)
Public propertyIsGrouped
Gets a value indicating whether the data in the OwnerTemplate is grouped based on the content of this column.
(Inherited from GridViewColumn.)
Public propertyIsPinned
Gets or sets value indicating whether the current column is pinned and cannot be moved from its location when a user scrolls horizontally.
(Inherited from GridViewColumn.)
Public propertyIsSorted
Gets a boolean value indicating whether a sort order of data in the column is currently applied.
(Inherited from GridViewColumn.)
Public propertyIsVisible
Gets or sets a value indicating whether the column is visible.
(Inherited from GridViewColumn.)
Public propertyMaxWidth
Gets or sets the maximal width, in pixels, of the column.
(Inherited from GridViewColumn.)
Public propertyMinWidth
Gets or sets the minimum width, in pixels, of the column.
(Inherited from GridViewColumn.)
Public propertyName
Gets or sets a string value representing the column's unique name in the Columns collection of the OwnerTemplate.
(Inherited from GridViewColumn.)
Public propertyNullValue
Gets or sets the cell display value corresponding to a cell value of System.DBNull or null
Public propertyOwnerTemplate
Gets the instance of GridViewTemplate which the column belongs to.
(Inherited from GridViewColumn.)
Public propertyPinPosition
Gets or sets the pin position for the row. When the column is pinned, it cannot be moved from its location when a user scrolls horizontally.
(Inherited from GridViewColumn.)
Public propertyPriority
Public propertyPropertyFilter
Gets or sets a Filter instance, used to filter the ICustomPropertyDescriptor.GetProperties collection.
(Inherited from RadObject.)
Public propertyPropertyValues
Gets a collection containing property values.
(Inherited from RadObject.)
Public propertyRadObjectType
Gets the RadObjectType which is associated with this system type.
(Inherited from RadObject.)
Public propertyReadOnly
Gets or sets a value indicating whether the user can edit the data in the column's cells.
(Inherited from GridViewColumn.)
Public propertyRowSpan
Gets or sets the vertical span of the cells in that column (the height) in pixels. Relevant only in ColumnGroupsViewDefinition.
(Inherited from GridViewColumn.)
Public propertySortOrder
Gets or sets a value indicating the sort order of data in the column.
(Inherited from GridViewColumn.)
Public propertyStretchVertically
Gets or sets a value indicating whether to stretch the column height vertically. Used with ColumnGroupsViewDefinition.
(Inherited from GridViewColumn.)
Public propertyTag
Gets or sets the object that contains data about the column.
(Inherited from GridViewColumn.)
Public propertyTextAlignment
Gets or sets a value indicating the position of the cell content within a column's cells.
(Inherited from GridViewColumn.)
Public propertyTextImageRelation
Gets or sets a value indicating the TextImageRelation: ImageAboveText, ImageBeforeText, Overlay, TextAboveImage, and TextBeforeImage.
(Inherited from GridViewColumn.)
Public propertyUseDataTypeConverterWhenSorting
Gets or sets a value indicating whether the data type converter of this column should be used when sorting.
Public propertyVisibleInColumnChooser
Gets or sets a value indicating whether the column will be visible in ColumnChooserElement.
(Inherited from GridViewColumn.)
Public propertyWidth
Gets or sets the width of the column.
(Inherited from GridViewColumn.)
Public propertyWrapText
Gets or sets value indicating whether the text in each cell in the column should be wrapped.
(Inherited from GridViewColumn.)
Top
Methods
  NameDescription
Protected methodAddStylePropertySetting
Registers a style setting for this instance.
(Inherited from RadObject.)
Public methodAnalyzeQueue
Public methodBestFit
Adjusts the column width to fit the contents of all cells in the column, including the header cell.
(Inherited from GridViewColumn.)
Public methodBindProperty
Binds the specified property to a property of the provided binding source object.
(Inherited from RadObject.)
Public methodCanDragToGroup
Determines whether this column may be dragged onto the GroupBy panel.
(Inherited from GridViewColumn.)
Public methodCanDragToGroup(GridViewTemplate)
Determines whether this column may be dragged onto the GroupBy panel.
(Inherited from GridViewColumn.)
Protected methodCanRaisePropertyChangeNotifications
Determines whether the object can raise PropertyChanging and PropertyChanged notifications. Current implementation checks whether the object is disposing or is already disposed of.
(Inherited from RadObject.)
Protected methodClearPropertyStore
Removes all references to external property modifiers such as property bindings, style settings and animations.
(Inherited from RadObject.)
Protected methodCoerceValue
Allows inheritors to force a coersion of the current calculated value for the given property.
(Inherited from RadObject.)
Public methodCreateSnapshot
Protected methodDispatchEvent (Inherited from GridViewColumn.)
Public methodDispose
Releases all resources associated with this object.
(Inherited from DisposableObject.)
Protected methodDispose(Boolean)
Performs the actual Dispose logic.
(Inherited from DisposableObject.)
Protected methodDisposeManagedResources
(Inherited from RadObject.)
Protected methodDisposeUnmanagedResources
Releases any UNMANAGED resources used by this object. NOTE: If you declare some unmanaged resources in your class, you should override its finalizer and put disposing logic there also.
(Inherited from DisposableObject.)
Protected methodGetBitState
Gets the current bit state for the object, defined by the provided key.
(Inherited from DisposableObject.)
Public methodGetCellType (Overrides GridViewColumnGetCellType(GridViewRowInfo).)
Protected methodGetDefaultDataTypeConverter
Public methodGetDefaultEditor
Returns an editor instance of the default type for the editor provider.
(Inherited from GridViewColumn.)
Public methodGetDefaultEditorType
Gets the default editor type for the editor provider.
(Inherited from GridViewColumn.)
Public methodGetDefaultGroupByExpression
Retrieves the default group-by expression string for the column.
(Inherited from GridViewColumn.)
Protected methodGetDefaultMinWidth
Gets a value indicating default minimum width for the inherited column type. If not overridden in inheritor class it defaults to 5.
(Inherited from GridViewColumn.)
Protected methodGetDefaultValue
Allows inheritors to provide custom default value.
(Inherited from RadObject.)
Protected methodGetDistinctValues
Protected methodGetDistinctValuesWithFilter
Protected methodGetEventInfo (Overrides GridViewColumnGetEventInfo(RadProperty, GridEventDispatchMode).)
Protected methodGetInheritedValue
Searches up in the chain of InheritanceParents for a value for the specified property.
(Inherited from RadObject.)
Public methodGetPropertyValue
Gets the RadPropertyValue structure that holds information about the specified property's effective value for this instance. May be null if no effective value is recorded.
(Inherited from RadObject.)
Public methodGetRegisteredRadProperty
Gets the registered property with the specified name.
(Inherited from RadObject.)
Public methodGetValue
Retrieves the current value for the specified property.
(Inherited from RadObject.)
Public methodGetValueSource
Gets the source of the current value for the specified property.
(Inherited from RadObject.)
Protected methodInitialize (Overrides GridViewColumnInitialize.)
Public methodInitializeEditor
Initializes a specified editor.
(Inherited from GridViewColumn.)
Protected methodIsPropertyCancelable (Inherited from GridViewColumn.)
Protected methodOnBitStateChanged
Notifies the object for a change in its bit state.
(Inherited from DisposableObject.)
Protected methodOnNotifyPropertyChanged(PropertyChangedEventArgs)
Raises the standard .NET PropertyChanged event.
(Inherited from RadObject.)
Protected methodOnNotifyPropertyChanged(String)
Raises the PropertyChanged event.
(Inherited from RadObject.)
Protected methodOnNotifyPropertyChanging(String) (Inherited from GridViewColumn.)
Protected methodOnNotifyPropertyChanging(PropertyChangingEventArgsEx) (Overrides GridViewColumnOnNotifyPropertyChanging(PropertyChangingEventArgsEx).)
Protected methodOnPropertyChanged (Overrides GridViewColumnOnPropertyChanged(RadPropertyChangedEventArgs).)
Protected methodOnPropertyChanging (Inherited from GridViewColumn.)
Protected methodPerformDispose
Performs the core resources release logic.
(Inherited from DisposableObject.)
Public methodPostProcessEvent
Public methodPreProcessEvent
Public methodProcessEvent
Public methodRemoveStylePropertySetting(IPropertySetting)
Called when element style condition changes. This method is used internally.
(Inherited from RadObject.)
Public methodRemoveStylePropertySetting(RadProperty)
Called when element style condition changes. This method is used internally.
(Inherited from RadObject.)
Public methodResetValue(RadProperty)
Resets the current value of the specified property. This method will remove any effective value modifier (such as style or animation setting) for the specified property.
(Inherited from RadObject.)
Public methodResetValue(RadProperty, ValueResetFlags)
Resets the current value of the specified property using the provided flags.
(Inherited from RadObject.)
Protected methodResetValueCore
Resets the specified property value, using the provided reset flags.
(Inherited from RadObject.)
Public methodResumePropertyNotifications
Resumes property notifications after a previous SuspendPropertyNotifications call.
(Inherited from RadObject.)
Protected methodSetBitState
Applies the specified boolean value to the BitVector of the object.
(Inherited from DisposableObject.)
Public methodSetDefaultValueOverride
Applies the provided value as an override of the Default value provided by the specified property's metadata.
(Inherited from RadObject.)
Public methodSetValue
Applies the provided value as Local for the specified property.
(Inherited from RadObject.)
Public methodSetValueAtDesignTime
Applies the specified value as Local for the desired property and raises the flag IsLocalValueSetAtDesignTime for that property. All design-time direct property modifications (e.g. item.Text = "Item1") should be done through this method for the property to be properly serialized. If a property is modified through a property grid, the custom property descriptor will automatically apply this logic. This method is used internally.
(Inherited from RadObject.)
Protected methodSetValueCore
Performs the core logic of updating property value.
(Inherited from RadObject.)
Public methodShouldSerializeProperty
Determines whether the property defined by the provided property descriptor should be serialized.
(Inherited from RadObject.)
Public methodSort
Sorts the specified sort order.
(Inherited from GridViewColumn.)
Public methodSuspendPropertyNotifications
Allows PropertyChanging and PropertyChanged notifications to be temporary suspended.
(Inherited from RadObject.)
Public methodToString
Returns a string representation of the column.
(Overrides GridViewColumnToString.)
Public methodUnbindProperty
Removes the binding for the specified property.
(Inherited from RadObject.)
Protected methodUpdateDistinctValues
Protected methodUpdateDistinctValuesOnAdd
Protected methodUpdateDistinctValuesOnAddWithFilter
Protected methodUpdateDistinctValuesWithFilter
Public methodUpdateValue
Forces re-evaluation of the current value for the specified property.
(Inherited from RadObject.)
Protected methodUpdateValueCore
Performs the core value update logic.
(Inherited from RadObject.)
Top
Events
  NameDescription
Public eventDisposed (Inherited from DisposableObject.)
Public eventDisposing (Inherited from DisposableObject.)
Public eventPropertyChanged
Occurs when a property of an object changes. Note: if a property which is not a RadProperty changes, the developer is responsible for firing this event by using the INotifyPropertyChanged API.
(Inherited from RadObject.)
Public eventPropertyChanging (Inherited from GridViewColumn.)
Public eventRadPropertyChanged
Occurs when a property of a RadObject changes.
(Inherited from RadObject.)
Public eventRadPropertyChanging
Occurs prior to property of a RadObject changes.
(Inherited from RadObject.)
Top
Fields
Extension Methods
  NameDescription
Public Extension MethodCheckAccessOverloaded. (Defined by DispatcherExtensions.)
Public Extension MethodCheckAccessOverloaded. (Defined by DispatcherExtensions.)
Public Extension MethodCheckAccessOverloaded. (Defined by DispatcherExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodIsLocalValueSet
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Top
See Also
Inheritance Hierarchy
SystemObject
  Telerik.WinControlsDisposableObject
    Telerik.WinControlsRadObject
      Telerik.WinControls.UIGridViewColumn
        Telerik.WinControls.UIGridViewDataColumn
          Telerik.WinControls.UIGridViewBrowseColumn
          Telerik.WinControls.UIGridViewCalculatorColumn
          Telerik.WinControls.UIGridViewCheckBoxColumn
          Telerik.WinControls.UIGridViewColorColumn
          Telerik.WinControls.UIGridViewComboBoxColumn
          Telerik.WinControls.UIGridViewCommandColumn
          Telerik.WinControls.UIGridViewDateTimeColumn
          Telerik.WinControls.UIGridViewDecimalColumn
          Telerik.WinControls.UIGridViewHyperlinkColumn
          Telerik.WinControls.UIGridViewImageColumn
          Telerik.WinControls.UIGridViewMaskBoxColumn
          Telerik.WinControls.UIGridViewRatingColumn
          Telerik.WinControls.UIGridViewTextBoxColumn