Skip to main content

CardViewModel Members

A specific view model object that maintains the CardView’s state and provides the means to populate itself with data when the CardView is used in custom data binding mode.

Constructors

Name Description
CardViewModel() Initializes a new instance of the CardViewModel class with default settings.

Properties

Name Description
AppliedFilterExpression Gets the textual representation of the filter criteria applied to the CardView.
Columns Provides access to a collection that contains information (the current state) on column objects.
FilterExpression Gets or sets the filter criteria applied to the CardView.
GroupSummary Provides access to a collection that contains information on the current state of group summary objects.
IsFilterApplied Gets or sets values specifying whether the filter expression should be applied to the CardView.
KeyFieldName Gets or sets the name of the data source key field.
LayoutMode Gets or sets the current layout mode for the CardView.
Pager Gets the CardView pager’s main settings.
SearchPanel Gets settings specifying the search panel state.
SortedColumns Gets a collection of sorted columns.
TotalSummary Provides access to a collection that contains information on the current state of total summary objects.

Methods

Name Description
ApplyFilteringState(CardViewColumnState) Updates the state of the CardViewModel with the current single-column filtering state of the CardView.
ApplyFilteringState(CardViewFilteringState) Updates the state of the CardViewModel with the current filtering state of the CardView.
ApplyPagingState(CardViewPagerState) Updates the state of the CardViewModel with the current paging state of the CardView.
ApplySortingState(CardViewColumnState, Boolean) Updates the state of the CardViewModel with the current sorting state of the CardView.
ApplySortingState(CardViewColumnState) Updates the state of the CardViewModel with the current sorting state of the CardView.
Assign(GridBaseViewModel) Copies the settings from the specified GridBaseViewModel object to the current object.
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.
ProcessCustomBinding(CardViewCustomBindingGetDataCardCountHandler, CardViewCustomBindingGetDataHandler, CardViewCustomBindingGetSummaryValuesHandler, CardViewCustomBindingGetUniqueHeaderFilterValuesHandler) Delegates the implementation of CardView view model population in the custom data binding mode to Model-layer functions specified via the method’s parameters.
ProcessCustomBinding(CardViewCustomBindingGetDataCardCountHandler, CardViewCustomBindingGetDataHandler, CardViewCustomBindingGetSummaryValuesHandler) Delegates the implementation of CardView view model population in the custom data binding mode to Model-layer functions specified via the method’s parameters.
ProcessCustomBinding(CardViewCustomBindingGetDataCardCountHandler, CardViewCustomBindingGetDataHandler, CardViewCustomBindingGetUniqueHeaderFilterValuesHandler) Delegates the implementation of CardView view model population in the custom data binding mode to Model-layer functions specified via the method’s parameters.
ProcessCustomBinding(CardViewCustomBindingGetDataCardCountHandler, CardViewCustomBindingGetDataHandler) Delegates the implementation of CardView view model population in the custom data binding mode to Model-layer functions specified via the method’s parameters.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SortBy(CardViewColumnState, Boolean) Changes the CardView’s sorting state according to the processed sorting operation.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also