Back to Devexpress

IModelListView.Sorting Property

expressappframework-devexpress-dot-expressapp-dot-model-dot-imodellistview-0f6f2199.md

latest2.1 KB
Original Source

IModelListView.Sorting Property

Provides access to the Sorting node.

Namespace : DevExpress.ExpressApp.Model

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
IModelSorting Sorting { get; }
vb
ReadOnly Property Sorting As IModelSorting

Property Value

TypeDescription
IModelSorting

An IModelSorting object representing the Sorting node.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Sorting property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

xaf-how-to-sort-a-listview-in-code/CS/EFCore/SortListViewEF/SortListViewEF.Module/Controllers/SortListViewController.cs#L17

csharp
base.OnActivated();
if (!demoFlag && View.Model.Sorting[propertyName] == null)
{

See Also

IModelListView Interface

IModelListView Members

DevExpress.ExpressApp.Model Namespace