Back to Devexpress

XPServerModeView Members

xpo-devexpress-dot-xpo-dot-xpservermodeview-dot-underscore-members.md

latest13.0 KB
Original Source

XPServerModeView Members

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

Constructors

NameDescription
XPServerModeView()Initializes a new XPServerModeView instance.
XPServerModeView(Session, XPClassInfo, CriteriaOperator)Uses a Session, object type metadata, and filter criteria to initialize a new XPServerModeView instance.
XPServerModeView(Session, XPClassInfo)Uses a Session and object type metadata to initialize a new XPServerModeView instance.
XPServerModeView(Session, Type, CriteriaOperator)Uses a Session, an object type and filter criteria to initialize a new XPServerModeView instance.
XPServerModeView(Session, Type)Uses a Session and object type to initialize a new XPServerModeView instance.
XPServerModeView(IContainer)Initializes a new XPServerModeView instance and adds it to a container.

Properties

NameDescription
CanRaiseEvents protectedGets a value indicating whether the component can raise an event. Inherited from Component.
ContainerGets the IContainer that contains the Component. Inherited from Component.
DesignMode protectedGets a value that indicates whether the Component is currently in design mode. Inherited from Component.
Events protectedGets the list of event handlers that are attached to this Component. Inherited from Component.
FixedFilterCriteriaSpecifies the criteria used to filter items on the data store side. Bound data-aware controls never affect the criteria.
FixedFilterStringSpecifies a string that contains the criteria used to filter items on the data store side. Bound data-aware controls never affect the criteria.
ObjectClassInfoGets or sets the XPClassInfo that describes the type of items the target data table contains.
ObjectTypeGets or sets the type of items the target data table contains.
PropertiesGets a ServerViewPropertiesCollection object that contains information on a persistent type’s property names, criteria, and sort order.
SessionGets or sets a session used to load persistent objects.
SiteGets or sets the ISite of the Component. Inherited from Component.

Methods

NameDescription
AddProperty(CriteriaOperator)Creates a new ServerViewProperty object and appends it to the Properties collection.
AddProperty(String, CriteriaOperator, SortDirection)Creates a new ServerViewProperty object and appends it to the Properties collection.
AddProperty(String, CriteriaOperator)Creates a new ServerViewProperty object and appends it to the Properties collection.
AddProperty(String, String, SortDirection)Creates a new ServerViewProperty object and appends it to the Properties collection.
AddProperty(String, String)Creates a new ServerViewProperty object and appends it to the Properties collection.
AddProperty(String)Creates a new ServerViewProperty object and appends it to the Properties collection.
Dispose()Releases all resources used by the Component. Inherited from Component.
Dispose(Boolean) protectedReleases the unmanaged resources used by the Component and optionally releases the managed resources. Inherited from Component.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetLifetimeService()Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetService(Type) protectedReturns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetType()Gets the Type of the current instance. Inherited from Object.
InitializeLifetimeService()Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protectedCreates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
PopulateProperties()Clears the Properties collection and populates it with properties of the persistent type specified by the ObjectType property.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
Reload()
ToString()Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.

Events

NameDescription
DisposedOccurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
ResolveSessionOccurs when the XPServerModeView requests a Session to retrieve objects from the data store.
ServerExceptionThrownOccurs when a data server throws an exception.

See Also

XPServerModeView Class

DevExpress.Xpo Namespace