Methods to Update the CardView State in Actions

When you handle specific data operations (paging, sorting or filtering), you need to update the CardView state with the state of the currently processed operation in the corresponding Actions. You can do this with ease by using specific operation-related methods exposed by the CardViewModel object. Each method accepts parameters representing the currently processed data operation's state, which are automatically passed to a handling Action.



Call with the Accepted Parameter(s) (Passed to Action)

Paging (CardViewOperationType.Paging)


ApplyPagingState(CardViewPagerState pagerState)

Sorting (CardViewOperationType.Sorting)


ApplySortingState(CardViewColumnState columnState)

ApplySortingState(CardViewColumnState columnState, bool reset)

Filtering (CardViewOperationType.Filtering)


ApplyFilteringState(CardViewFilteringState filteringState)

Refer to the Action Types and Passed Parameters topic to learn more on operation-specific parameters passed to handling Actions automatically.

See Also