Skip to main content

CardOptionsBehavior Members

Provides behavior options for Card Views.

Constructors

Name Description
CardOptionsBehavior() Creates a new instance of the CardOptionsBehavior class.
CardOptionsBehavior(ColumnView) Initializes a new instance of the CardOptionsBehavior 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. Inherited from ColumnViewOptionsBehavior.
AllowDeleteRows Gets or sets whether the Data Navigator‘s Delete button is enabled for the current View. Inherited from ColumnViewOptionsBehavior.
AllowExpandCollapse Gets or sets whether cards can be collapsed.
AutoFocusNewCard Gets or sets a value specifying whether adding a new record focuses the new card.
AutoHorzWidth Gets or sets a value specifying whether the cards auto width feature is enabled.
AutoPopulateColumns Gets 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. Inherited from ColumnViewOptionsBehavior.
AutoSelectAllInEditor Gets or sets whether activating a cell editor using the ENTER or F2 keys leads to the entire editor’s content being selected. Inherited from ColumnViewOptionsBehavior.
CacheValuesOnRowUpdating Gets or sets whether the grid caches data for a row that is about to be saved to a data source. Inherited from ColumnViewOptionsBehavior.
Editable Gets or sets whether end-users are allowed to edit data (using in-place cell editors and Edit Forms). Inherited from ColumnViewOptionsBehavior.
EditorShowMode Gets or sets a value which specifies how a cell editor is activated by the mouse. Inherited from ColumnViewOptionsBehavior.
FieldAutoHeight Gets or sets a value specifying whether card field height is calculated automatically, depending on cell contents.
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). Inherited from ColumnViewOptionsBehavior.
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. Inherited from ColumnViewOptionsBehavior.
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). Inherited from ColumnViewOptionsBehavior.
ReadOnly Gets or sets whether the current View is read-only. Inherited from ColumnViewOptionsBehavior.
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. Inherited from ColumnViewOptionsBehavior.
ShowEditorOnMouseUp Obsolete. Gets or sets whether a cell’s editor is activated when the mouse button is released from a click within the cell. Inherited from ColumnViewOptionsBehavior.
Sizeable Gets or sets a value specifying whether a card column width can be changed by the end-users.
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. Inherited from ColumnViewOptionsBehavior.
UseNewCustomFilterDialog Obsolete. Gets or sets whether the advanced custom filter dialog is used instead of the standard one. Inherited from ColumnViewOptionsBehavior.
UseTabKey Gets or sets a value specifying whether the TAB/SHIFT+TAB key combinations move focus within the Card View or to the next/previous control in tab order.

Methods

Name Description
Assign(BaseOptions) Copies all settings from the options object passed as a parameter.
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) static Determines 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() 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