Skip to main content
.NET 8.0+

XPServerModeView Class

A data source that binds DevExpress grid controls with data tables and allows retrieving data from the server side.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public class XPServerModeView :
    Component,
    ISupportInitializeNotification,
    ISupportInitialize,
    IListSource,
    IXPClassInfoAndSessionProvider,
    IXPClassInfoProvider,
    IXPDictionaryProvider,
    ISessionProvider,
    IObjectLayerProvider,
    IDataLayerProvider,
    IColumnsServerActions,
    IDXCloneable

Remarks

Use the XPServerModeView component to work with DevExpress grid controls in server mode. The component combines the advantages and features of XPServerCollectionSource and XPView.

The XPServerModeView is a read-only data source. To enable data editing in server mode, use the XPServerCollectionSource with the XPServerCollectionSource.AllowEdit property set to true.

XPServerModeView ships with the following capabilities:

  • Ability to handle large data sources with lower memory usage (does not load an entire persistent object instance).
  • Ability to customize SELECT statements to exclude unused data columns.
  • Ability to include reference property data (nested properties) in the root query to avoid the 1+N problem.
  • Ability to include custom (virtual) properties calculated on the server side (similar to ServerViewProperty).

The following examples demonstrate how to work with XPServerModeView:

Implements

Inheritance

See Also