Back to Devexpress

ColumnViewOptionsBehavior Members

windowsforms-devexpress-dot-xtragrid-dot-views-dot-base-dot-columnviewoptionsbehavior-dot-underscore-members.md

latest8.6 KB
Original Source

ColumnViewOptionsBehavior Members

Serves as the base for classes which provide behavior options for Views.

Constructors

NameDescription
ColumnViewOptionsBehavior()Initializes a new instance of the ColumnViewOptionsBehavior class.
ColumnViewOptionsBehavior(ColumnView)Initializes a new instance of the ColumnViewOptionsBehavior class with the specified owning View.

Properties

NameDescription
AllowAddRowsGets or sets whether the Data Navigator‘s Append button is enabled for the current View.
AllowDeleteRowsGets or sets whether the Data Navigator‘s Delete button is enabled for the current View.
AutoPopulateColumnsGets or sets whether to create columns automatically for all fields in the underlying data source (when binding the grid and if the View doesn’t contain any columns). When bound to a data source, the grid does not generate columns for properties of collection types.
AutoSelectAllInEditorGets or sets whether activating a cell editor using the ENTER or F2 keys leads to the entire editor’s content being selected.
CacheValuesOnRowUpdatingGets or sets whether the grid caches data for a row that is about to be saved to a data source.
EditableGets or sets whether end-users are allowed to edit data (using in-place cell editors and Edit Forms).
EditorShowModeGets or sets a value which specifies how a cell editor is activated by the mouse.
FocusLeaveOnTabGets or sets whether pressing the TAB key moves focus to the next control in the tab order, if moving focus via the TAB key within the View is prohibited (or cannot be performed).
ImmediateUpdateRowPositionGets or sets whether a row’s position is immediately updated according to the current sorting, grouping and filtering settings after the row’s modified data has been posted.
KeepFocusedRowOnUpdateGets or sets whether the currently focused row retains focus when data is sorted, grouped or filtered or when records are added to/removed from the underlying data source. Disabling this property is in effect when the data source is not managed by the CurrencyManager (ColumnView.DisableCurrencyManager).
ReadOnlyGets or sets whether the current View is read-only.
ShowAllTableValuesInFilterPopupObsolete. Gets or sets whether the filter dropdowns should contain unique values from all the records in the View’s data source or only from those records that meet the current filter criteria.
ShowEditorOnMouseUpObsolete. Gets or sets whether a cell’s editor is activated when the mouse button is released from a click within the cell.
UnboundColumnExpressionEditorModeGets or sets the type of unbound expression editor that end-users can utilize to modify expressions for unbound columns owned by this View.
UseNewCustomFilterDialogObsolete. Gets or sets whether the advanced custom filter dialog is used instead of the standard one.

Methods

NameDescription
Assign(BaseOptions)Copies all the settings of the options object passed as this method’s 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

ColumnViewOptionsBehavior Class

DevExpress.XtraGrid.Views.Base Namespace