ColumnViewOptionsBehavior Members

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

Constructors

Name Description
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

Name Description
AllowAddRows Gets or sets whether the Data Navigator's Append button is enabled for the current View.
AllowDeleteRows Gets or sets whether the Data Navigator's Delete button is enabled for the current View.
AutoPopulateColumns Gets or sets whether columns should be created automatically for all fields in the underlying data source when the View doesn't contain any columns. When bound to a business object, the grid does not generate columns for properties of collection types.
AutoSelectAllInEditor Gets or sets whether activating a cell editor using the ENTER or F2 keys leads to the entire editor's content being selected.
CacheValuesOnRowUpdating Gets or sets whether the grid caches data for a row that is about to be saved to a data source.
Editable Gets or sets whether end-users are allowed to edit data (using in-place cell editors and Edit Forms).
EditorShowMode Gets or sets a value which specifies how a cell editor is activated by the mouse.
FocusLeaveOnTab Gets 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).
ImmediateUpdateRowPosition Gets 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.
KeepFocusedRowOnUpdate Gets 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 (see ColumnView.DisableCurrencyManager).
ReadOnly Gets or sets whether the current View is read-only.
ShowAllTableValuesInFilterPopup Obsolete. 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.
ShowEditorOnMouseUp Obsolete. Gets or sets whether a cell's editor is activated when the mouse button is released from a click within the cell.
UnboundColumnExpressionEditorMode Gets or sets the type of unbound expression editor that end-users can utilize to modify expressions for unbound columns owned by this View.
UseNewCustomFilterDialog Obsolete. Gets or sets whether the advanced custom filter dialog is used instead of the standard one.

Methods

Name Description
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) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. 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() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines 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