Back to Devexpress

OptionsColumn Members

windowsforms-devexpress-dot-xtragrid-dot-columns-dot-optionscolumn-dot-underscore-members.md

latest7.6 KB
Original Source

OptionsColumn Members

Provides options for columns.

Constructors

NameDescription
OptionsColumn()Initializes a new instance of the OptionsColumn class.

Properties

NameDescription
AllowEditSpecifies if users can edit column values in grid cells (inplace edit mode).
AllowFocusGets or sets whether end-users can move focus to the column using either the mouse or keyboard.
AllowGroupGets or sets whether end-users can drag the column’s header to the group panel to group data against the column’s values.
AllowIncrementalSearchGets or sets whether incremental searches can be performed on the column.
AllowMergeGets or sets whether neighboring cells with identical values can be merged within the current column.
AllowMoveGets or sets whether end-users can drag the column’s header.
AllowShowHideGets or sets whether the column can be hidden or restored by an end-user.
AllowSizeGets or sets whether end-users can drag the column header’s right edge to change the column’s width.
AllowSortGets or sets whether end-users can sort data by the column’s values.
FixedWidthGets or sets whether this column keeps a constant width when a Grid changes its size or Best Fit operations are called. End-users are still allowed to resize this column.
ImmediateUpdateRowPositionGets or sets whether the focused row’s position is immediately updated according to the sorting, grouping and filtering settings after the current column data has been posted.
PrintableGets or sets whether a column is included in the print/export output.
ReadOnlyGets or sets whether end-users are prevented from editing the column’s cell values.
ShowCaptionGets or sets whether the column’s caption is displayed within the column header.
ShowInCustomizationFormGets or sets whether the column’s header is displayed within the Customization Form when the column is hidden.
ShowInExpressionEditorGets or sets whether the current column is available in the field list in the Expression Editor.
TabStopGets or sets whether the column can be focused via the TAB key.

Methods

NameDescription
Assign(BaseOptions)Copies all the settings from the options object passed as the parameter to the current object.
BeginUpdate()Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate()Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions.
EndUpdate()Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions.
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.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
Reset()Resets all options to their default values. Inherited from BaseOptions.
ToString()Returns a string representing the currently enabled options. Inherited from BaseOptions.

See Also

OptionsColumn Class

DevExpress.XtraGrid.Columns Namespace