Back to Devexpress

MVCxGridViewColumn Members

aspnetmvc-devexpress-dot-web-dot-mvc-dot-mvcxgridviewcolumn-dot-underscore-members.md

latest21.4 KB
Original Source

MVCxGridViewColumn Members

Represents a column within the GridView.

Constructors

NameDescription
MVCxGridViewColumn()Initializes a new instance of the MVCxGridViewColumn class with default settings.
MVCxGridViewColumn(String, MVCxGridViewColumnType)Initializes a new instance of the MVCxGridViewColumn class with the specified settings.
MVCxGridViewColumn(String, String, MVCxGridViewColumnType)Initializes a new instance of the MVCxGridViewColumn class with the specified settings.
MVCxGridViewColumn(String, String)Initializes a new instance of the MVCxGridViewColumn class with the specified settings.
MVCxGridViewColumn(String)Initializes a new instance of the MVCxGridViewColumn class with the specified setting.

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. Inherited from GridViewDataColumn.
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. Inherited from GridViewDataColumn.
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.
ColumnTypeGets or sets the column data editor type.
DataItemTemplateSpecifies a template to display the column’s data cells. Inherited from GridViewDataColumn.
EditCellStyleGets the style settings used to paint the column’s cells within the Edit Form. Inherited from GridViewDataColumn.
EditFormCaptionThis member supports the internal infrastructure and cannot be used directly from your code. Inherited from GridViewDataColumn.
EditFormCaptionStyleGets the style settings used to paint the caption of the edit cell that corresponds to the current column. Inherited from GridViewDataColumn.
EditFormSettingsGets the settings of the edit cell which is displayed within the Edit Form and corresponds to the current data column. Inherited from GridViewDataColumn.
EditItemTemplateSpecifies a template to display the column’s edit cell. Inherited from GridViewDataColumn.
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. Inherited from GridViewDataColumn.
FilterCellStyleGets the style settings used to paint a cell within the Filter Row that corresponds to the current data column. Inherited from GridViewDataColumn.
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.
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. Inherited from GridViewDataColumn.
GroupRowTemplateGets or sets a template for displaying group rows. Inherited from GridViewDataColumn.
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). Inherited from GridViewDataColumn.
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 the column editor’s settings. Inherited from GridViewEditDataColumn.
ReadOnlyGets or sets whether end-users are allowed to edit the column’s cell values. Inherited from GridViewDataColumn.
SettingsProvides access to the column’s options. Inherited from GridViewDataColumn.
SettingsHeaderFilterProvides access to the column’s header filter settings. Inherited from GridViewDataColumn.
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.
SortIndexSpecifies the column’s sort priority among columns (a lower number indicates a higher priority). Inherited from GridViewDataColumn.
SortOrderSpecifies the column’s sort order. Inherited from GridViewDataColumn.
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. Inherited from GridViewDataColumn.
UnboundTypeGets or sets the data type and binding mode of the column. Inherited from GridViewDataColumn.
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 public properties from the specified CollectionItem object to the current object.
AutoFilterBy(String)Applies a filter to the column. Inherited from GridViewDataColumn.
CreateColumn(Type) staticCreates a data column for the specified data type. Inherited from GridViewEditDataColumn.
EditorProperties()Allows you to configure GridView columns of different types.
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. Inherited from GridViewDataColumn.
IsClickable()Indicates whether a column responds to mouse clicks. Inherited from GridViewDataColumn.
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.
SetDataItemTemplateContent(Action<GridViewDataItemTemplateContainer>)Allows you to specify a template for data cells in the current column.
SetDataItemTemplateContent(String)Allows you to specify a template for data cells in the current column.
SetEditItemTemplateContent(Action<GridViewEditItemTemplateContainer>)Allows you to specify an edit item template.
SetEditItemTemplateContent(String)Allows you to specify an edit item template.
SetFilterTemplateContent(Action<GridViewFilterCellTemplateContainer>)Allows you to specify a filter template.
SetFilterTemplateContent(String)Allows you to specify a filter template.
SetFooterTemplateContent(Action<GridViewFooterCellTemplateContainer>)Allows you to specify a template for the column’s footer cell.
SetFooterTemplateContent(String)Allows you to specify a template for the column’s footer cell.
SetGroupRowTemplateContent(Action<GridViewGroupRowTemplateContainer>)Allows you to specify a group row template.
SetGroupRowTemplateContent(String)Allows you to specify a group row template.
SetHeaderCaptionTemplateContent(Action<GridViewHeaderTemplateContainer>)Allows you to specify a template for the column header’s caption.
SetHeaderCaptionTemplateContent(String)Allows you to specify a template for the column header’s caption.
SetHeaderTemplateContent(Action<GridViewHeaderTemplateContainer>)Allows you to specify a template for the column’s header.
SetHeaderTemplateContent(String)Allows you to specify a template for the column’s header.
SortAscending()Sorts the column in ascending order. Inherited from GridViewDataColumn.
SortDescending()Sorts the column in descending order. Inherited from GridViewDataColumn.
ToString()Returns a string that represents the current object. Inherited from GridViewDataColumn.
UnGroup()Clears the grouping applied to the column. Inherited from GridViewDataColumn.
UnSort()Clears the sorting applied to the column. Inherited from GridViewDataColumn.

See Also

MVCxGridViewColumn Class

DevExpress.Web.Mvc Namespace