Skip to content

GridColumn Object Members

See Also

GridColumn Overview


GridColumn Object Members

Public Methods

Method Description
Public MethodBestFit Fits the provided column width to the longest column item width.
Public MethodEnsureVisible Forces this column to be visible.
Public MethodMove The Move method is used to programmatically move a Column.
Public MethodSetMask Sets the mask for the column.

Public Properties

Property Description
Public PropertyAlignment Specifies the alignment for the column.
Public PropertyAllowDrag Allows/Disallows dragging of the column.
Public PropertyAllowRemove The AllowRemove property specifies whether the Column can be removed from the Grid Control.
Public PropertyAutoSize Specifies if column auto sizing is on or off.
Public PropertyAutoSortWhenGrouped Gets/sets whether items in the column are automatically sorted when grouped.
Public PropertyBestFitMode Gets or sets the best fit mode used.
Public PropertyCaption The text caption for the column header.
Public PropertyDrawFooterDivider Gets/sets whether the divider is drawn between column footers.
Public PropertyDrawFooterRowsVGrid Gets/sets whether to draw a vertical grid line on the right side of column footer rows when a vertical grid line style has been used.
Public PropertyDrawHeaderDivider Gets/sets whether the divider is drawn between column headers.
Public PropertyDrawHeaderRowsVGrid Gets/sets whether to draw a horizontal grid line on the right side of column footer rows when a horizontal grid line style has been used.
Public PropertyEditable Gets/sets whether the GridRecordItems in the column can be edited.
Public PropertyEditOptions Edit options to be applied to all GridRecordItems in the column.
Public PropertyExpanded Specifies whether the column is in an expanded state.
Public PropertyFilterable Gets/sets column filterable mode (TRUE - filterable, FALSE - not filterable).
Public PropertyFooterAlignment Gets/sets the column footer text alignment.
Public PropertyFooterFont Font used to display footer text.
Public PropertyFooterText Gets/sets the text that is displayed in the column's footer.
Public PropertyGroupable Determines if a column can be grouped.
Public PropertyHeaderAlignment Gets/sets the column header text alignment.
Public PropertyIcon Id/Index of an icon stored in an ImageList/Collection of icons that is displayed in the column header.
Public PropertyIndex Current index of the column.
Public PropertyItemIndex Default index of the column. The index of the column within the GridControl's collection of columns.
Public PropertyKey Gets or sets the internal column name which is used in serialization to uniquely identify the column rather than column index.
Public PropertyMaximumWidth Maximum column width (if set as positive). This only applies when AutoSize is False.
Public PropertyMinimumWidth Specifies the minimum width that a column can be sized to if resizable.
Public PropertyNextVisualBlock Specifies the number of columns that will be hidden when the column is expanded.
Public PropertyOldVisibleIndex Old index of the column.
Public PropertyPlusMinus Specifies whether the column will have an arrow button in the column header that allows the column to be expanded.
Public PropertyResizable Indicates whether the column is resizable.
Public PropertyShowInFieldChooser Indicates if a column will appear in the FieldChooser when the column is hidden or in the "Group By Box."
Public PropertySortable Specified whether the column can be sorted when the user clicks on the column header.
Public PropertySortAscending Specifies how the records in the column are sorted (ascending or descending order).
Public PropertyTag Used to hold any extra data that might be useful.
Public PropertyTooltip Gets/sets the tool tip that is displayed when the mouse cursor is positioned over the column header.
Public PropertyTreeColumn Specifies whether the column has GridRecordItems that contain an expand/collapse button.
Public PropertyVisible Specifies whether the column is visible in the GridControl.
Public PropertyVisibleIndex Visible index of the column, does not include hidden columns.
Public PropertyWidth Specifies the width of the column.

See Also

GridColumn Overview


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.