Back to Devexpress

CardOptionsBehavior Members

windowsforms-devexpress-dot-xtragrid-dot-views-dot-card-dot-cardoptionsbehavior-dot-underscore-members.md

latest11.5 KB
Original Source

CardOptionsBehavior Members

Provides behavior options for Card Views.

Constructors

NameDescription
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

NameDescription
AllowAddRowsGets or sets whether the Data Navigator‘s Append button is enabled for the current View. Inherited from ColumnViewOptionsBehavior.
AllowDeleteRowsGets or sets whether the Data Navigator‘s Delete button is enabled for the current View. Inherited from ColumnViewOptionsBehavior.
AllowExpandCollapseGets or sets whether cards can be collapsed.
AutoFocusNewCardGets or sets a value specifying whether adding a new record focuses the new card.
AutoHorzWidthGets or sets a value specifying whether the cards auto width feature is enabled.
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. Inherited from ColumnViewOptionsBehavior.
AutoSelectAllInEditorGets 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.
CacheValuesOnRowUpdatingGets or sets whether the grid caches data for a row that is about to be saved to a data source. Inherited from ColumnViewOptionsBehavior.
EditableGets or sets whether end-users are allowed to edit data (using in-place cell editors and Edit Forms). Inherited from ColumnViewOptionsBehavior.
EditorShowModeGets or sets a value which specifies how a cell editor is activated by the mouse. Inherited from ColumnViewOptionsBehavior.
FieldAutoHeightGets or sets a value specifying whether card field height is calculated automatically, depending on cell contents.
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). Inherited from ColumnViewOptionsBehavior.
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. Inherited from ColumnViewOptionsBehavior.
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). Inherited from ColumnViewOptionsBehavior.
ReadOnlyGets or sets whether the current View is read-only. Inherited from ColumnViewOptionsBehavior.
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. Inherited from ColumnViewOptionsBehavior.
ShowEditorOnMouseUpObsolete. 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.
SizeableGets or sets a value specifying whether a card column width can be changed by the end-users.
UnboundColumnExpressionEditorModeGets 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.
UseNewCustomFilterDialogObsolete. Gets or sets whether the advanced custom filter dialog is used instead of the standard one. Inherited from ColumnViewOptionsBehavior.
UseTabKeyGets 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

NameDescription
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) 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

CardOptionsBehavior Class

DevExpress.XtraGrid.Views.Card Namespace