MobileListEditorsHelper.AssignSort(DataSource, IModelListView) Method

Adjusts and assigns a sort to a List View data source based on the corresponding model settings.

Namespace: DevExpress.ExpressApp.Mobile.Editors

Assembly: DevExpress.ExpressApp.Mobile.v18.2.dll

Declaration

public static void AssignSort(
    DataSource modelDataSource,
    IModelListView model
)
Public Shared Sub AssignSort(
    modelDataSource As DataSource,
    model As IModelListView
)

Parameters

Type Name Description
DevExpress.ExpressApp.Mobile.MobileModel.DataSource modelDataSource

A DataSource object whose content should be sorted.

IModelListView model

An IModelListView object that provides settings from the Application Model's ListView node.

Remarks

See an example of using this method in the How to: Use a DevExtreme Chart in a Mobile Application topic.

See Also