The requested page is not available for the requested platform. You are viewing the content for Default platform.

GridViewModel Members

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

Constructors

Name Description
GridViewModel()

Initializes a new instance of the GridViewModel class with default settings.

Properties

Name Description
AppliedFilterExpression

Gets the textual representation of the filter criteria applied to the GridView.

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 GridView.

GroupSummary

Provides access to a collection that contains information on the current state of group summary objects.

GroupedColumns

Provides access to a list of grouped columns.

IsFilterApplied

Gets or sets a values specifying whether the filter expression should be applied to the GridView.

KeyFieldName

Gets or sets the name of the data source key field.

Pager

Gets the grid 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(GridViewColumnState)

Updates the state of the GridViewModel with the current single-column filtering state of the GridView.

ApplyFilteringState(GridViewFilteringState)

Updates the state of the GridViewModel with the current filtering state of the GridView.

ApplyGroupingState(GridViewColumnState)

Updates the state of the GridViewModel with the current grouping state of the GridView.

ApplyPagingState(GridViewPagerState)

Updates the state of the GridViewModel with the current paging state of the GridView.

ApplySortingState(GridViewColumnState)

Updates the state of the GridViewModel with the current sorting state of the GridView.

ApplySortingState(GridViewColumnState, Boolean)

Updates the state of the GridViewModel with the current sorting state of the GridView.

Assign(GridBaseViewModel)

Copies the settings from the specified GridBaseViewModel object to the current object.

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() Creates a shallow copy of the current Object.
(Inherited from Object)
ProcessCustomBinding(GridViewCustomBindingGetDataRowCountHandler, GridViewCustomBindingGetDataHandler)

Delegates the implementation of grid view model population in the custom data binding mode to Model-layer functions specified via the method's parameters.

ProcessCustomBinding(GridViewCustomBindingGetDataRowCountHandler, GridViewCustomBindingGetDataHandler, GridViewCustomBindingGetGroupingInfoHandler)

Delegates the implementation of grid view model population in the custom data binding mode to Model-layer functions specified via the method's parameters.

ProcessCustomBinding(GridViewCustomBindingGetDataRowCountHandler, GridViewCustomBindingGetDataHandler, GridViewCustomBindingGetSummaryValuesHandler)

Delegates the implementation of grid view model population in the custom data binding mode to Model-layer functions specified via the method's parameters.

ProcessCustomBinding(GridViewCustomBindingGetDataRowCountHandler, GridViewCustomBindingGetDataHandler, GridViewCustomBindingGetSummaryValuesHandler, GridViewCustomBindingGetGroupingInfoHandler)

Delegates the implementation of grid view model population in the custom data binding mode to Model-layer functions specified via the method's parameters.

ProcessCustomBinding(GridViewCustomBindingGetDataRowCountHandler, GridViewCustomBindingGetDataHandler, GridViewCustomBindingGetSummaryValuesHandler, GridViewCustomBindingGetGroupingInfoHandler, GridViewCustomBindingGetUniqueHeaderFilterValuesHandler)

Delegates the implementation of grid 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(GridViewColumnState, Boolean)

Changes the GridView's sorting state according to the processed sorting operation.

ToString() Returns a string that represents the current object.
(Inherited from Object)
See Also