Back to Devexpress

GridViewDataColumn Members

aspnet-devexpress-dot-web-dot-gridviewdatacolumn-dot-underscore-members.md

latest15.4 KB
Original Source

GridViewDataColumn Members

Serves as a base for classes that represent data columns.

Constructors

NameDescription
GridViewDataColumn()Initializes a new instance of the GridViewDataColumn class.
GridViewDataColumn(String, String)Initializes a new instance of the GridViewDataColumn class with the specified field name and caption.
GridViewDataColumn(String)Initializes a new instance of the GridViewDataColumn class with the specified field name.

Properties

NameDescription
AdaptivePriorityGets or sets the priority of column hiding in adaptive mode. Inherited from GridViewColumn.
AllowTextTruncationInAdaptiveModeSpecifies whether the column’s text can be truncated in adaptive mode. Inherited from GridViewColumn.
BatchEditModifiedCellStyleSpecifies the appearance of the column’s modified data cells.
CaptionGets or sets the text displayed within the column header. Inherited from WebColumnBase.
CellRowSpanSpecifies the number of rows that a column (i.e., column header and data cells containing the column data) spans.
CellStyleGets the style settings used to paint column cells. Inherited from GridViewColumn.
CollectionGets a collection of columns to which the column belongs. Inherited from GridViewColumn.
ColumnsProvides access to a collection of columns that the current column combines. Inherited from GridViewColumn.
DataItemTemplateSpecifies a template to display the column’s data cells.
EditCellStyleGets the style settings used to paint the column’s cells within the Edit Form.
EditFormCaptionThis member supports the internal infrastructure and cannot be used directly from your code.
EditFormCaptionStyleGets the style settings used to paint the caption of the edit cell that corresponds to the current column.
EditFormSettingsGets the settings of the edit cell which is displayed within the Edit Form and corresponds to the current data column.
EditItemTemplateSpecifies a template to display the column’s edit cell.
ExportCellStyleGets the style settings defining the appearance of data cells when the grid is exported. Inherited from GridViewColumn.
ExportWidthSpecifies the column’s export width. Inherited from GridViewColumn.
FieldNameGets or sets the name of the database field assigned to the current column.
FilterCellStyleGets the style settings used to paint a cell within the Filter Row that corresponds to the current data column.
FilterExpressionGets the column’s filter expression.
FilterTemplateSpecifies a template to display the column’s filter row cell. Inherited from GridViewColumn.
FixedStyleGets or sets whether the column is fixed on the ASPxGridView’s left edge. Inherited from GridViewColumn.
FooterCellStyleGets the style settings used to paint footer cells within a column. Inherited from GridViewColumn.
FooterTemplateSpecifies a template to display the column’s footer cell. Inherited from GridViewColumn.
GridGets the Grid View that owns the current column. Inherited from GridViewColumn.
GroupFooterCellStyleGets the style settings used to paint group footer cells within a column. Inherited from GridViewColumn.
GroupFooterTemplateSpecifies a template to display the column’s group footer cells. Inherited from GridViewColumn.
GroupIndexSpecifies the column’s grouping level.
GroupRowTemplateGets or sets a template for displaying group rows.
HeaderCaptionTemplateSpecifies a template to display the column header caption. Inherited from GridViewColumn.
HeaderStyleSpecifies the appearance of the column’s header. Inherited from GridViewColumn.
HeaderTemplateSpecifies a template to display the column’s header content. Inherited from GridViewColumn.
IndexGets or sets the item’s index within the collection. Inherited from CollectionItem.
LoadReadOnlyValueFromDataModelSpecifies whether the values of read-only columns can be loaded from a data source (model).
MaxWidthGets or sets the maximum width of the column. Inherited from GridViewColumn.
MinWidthGets or sets the minimum width of the column. Inherited from GridViewColumn.
NameGets or sets the unique programmatic identifier name for a column. Inherited from WebColumnBase.
ParentBandGets the column’s parent column. Inherited from GridViewColumn.
PropertiesEditGets or sets the column editor’s settings.
ReadOnlyGets or sets whether end-users are allowed to edit the column’s cell values.
SettingsProvides access to the column’s options.
SettingsHeaderFilterProvides access to the column’s header filter settings.
ShowInCustomizationFormGets or sets whether the column’s header is displayed within the Customization Window and Customization Dialog when the column is hidden. Inherited from GridViewColumn.
ShowInFilterControlGets whether an end-user can create filter conditions within this column within the Filter Control. This member supports the internal infrastructure and cannot be used directly from your code.
SortIndexSpecifies the column’s sort priority among columns (a lower number indicates a higher priority).
SortOrderSpecifies the column’s sort order.
ToolTipGets or sets the column header’s tooltip text. Inherited from WebColumnBase.
UnboundExpressionGets or sets an expression used to evaluate values for the current unbound column.
UnboundTypeGets or sets the data type and binding mode of the column.
VisibleSpecifies whether the column is visible. Inherited from WebColumnBase.
VisibleIndexSpecifies the column’s position among visible columns in a web control. Inherited from WebColumnBase.
WidthGets or sets the column’s width. Inherited from WebColumnBase.

Methods

NameDescription
Assign(CollectionItem)Copies the public properties from the specified object to the current one.
AutoFilterBy(String)Applies a filter to the column.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetType()Gets the Type of the current instance. Inherited from Object.
GroupBy()Groups data by the values of the current column.
IsClickable()Indicates whether a column responds to mouse clicks.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
OnColumnChanged()For internal use only. Inherited from WebColumnBase.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
SetColVisible(Boolean)For internal use only. Inherited from WebColumnBase.
SetColVisibleIndex(Int32)For internal use only. Inherited from WebColumnBase.
SortAscending()Sorts the column in ascending order.
SortDescending()Sorts the column in descending order.
ToString()Returns a string that represents the current object.
UnGroup()Clears the grouping applied to the column.
UnSort()Clears the sorting applied to the column.

See Also

GridViewDataColumn Class

DevExpress.Web Namespace