Skip to main content
.NET Framework 4.5.2+

XPView Members

The view that stores data retrieved from persistent objects.

Constructors

Name Description
XPView() Initializes a new instance of the XPView class with the default settings.
XPView(Session, XPClassInfo, CriteriaOperatorCollection, CriteriaOperator, CriteriaOperator) Initializes a new instance of the XPView class with the specified settings.
XPView(Session, XPClassInfo, CriteriaOperatorCollection, CriteriaOperator) Initializes a new instance of the XPView class with the specified settings.
XPView(Session, XPClassInfo, String, CriteriaOperator) Initializes a new instance of the XPView class with the specified settings.
XPView(Session, XPClassInfo) Initializes a new instance of the XPView class with the specified XPView.Session and XPView.ObjectClassInfo properties.
XPView(Session, Type, CriteriaOperatorCollection, CriteriaOperator) Initializes a new instance of the XPView class with the specified settings.
XPView(Session, Type, String, CriteriaOperator) Initializes a new instance of the XPView class with the specified settings.
XPView(Session, Type) Initializes a new instance of the XPView class with the specified session and type of persistent objects to include in the view.
XPView(IContainer) Initializes a new instance of the XPView class and adds it to a form’s container.

Properties

Name Description
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
CaseSensitive Gets or sets whether string comparisons evaluated by the XPView on the client are case-sensitive.
Container Gets the IContainer that contains the Component. Inherited from Component.
Count Gets the number of records within the view.
Criteria Gets or sets the criteria associated with the view.
CriteriaString Gets or sets the criteria used to filter objects while the view is being loaded.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
Filter Gets or sets the expression used to filter the rows displayed in the view (on the client side).
GroupCriteria Gets or sets the grouping criteria which is associated with the view.
GroupCriteriaString Gets or sets the grouping criteria which is associated with the view.
Item[Int32] Provides indexed access to individual records within the view.
ObjectClassInfo Gets the metadata information for the persistent objects retrieved by the view.
ObjectType Gets the type of the class whose metadata is provided by the XPView.ObjectClassInfo property.
Properties Gets a collection of ViewProperty objects that represent view columns.
SelectDeleted Specifies whether objects marked as deleted are retrieved by the XPView.
Session Gets or sets the session which is used to load and save persistent objects.
Site Gets or sets the ISite of the Component. Inherited from Component.
SkipReturnedRecords Gets or sets the number of records to exclude when populating the view.
Sorting Provides access to the collection whose elements identify the sorted columns within the view.
TopReturnedRecords Gets or sets the maximum number of records retrieved by the view.

Methods

Name Description
AddProperty(CriteriaOperator) Creates a new ViewProperty object and appends it to the XPView.Properties collection.
AddProperty(String, CriteriaOperator, Boolean, Boolean, SortDirection) Creates a new ViewProperty object with the specified settings and appends it to the XPView.Properties collection.
AddProperty(String, CriteriaOperator, Boolean) Creates a new ViewProperty object with the specified expression and appends it to the XPView.Properties collection.
AddProperty(String, CriteriaOperator) Creates a new ViewProperty object with the specified expression and appends it to the XPView.Properties collection.
AddProperty(String, String, Boolean, Boolean, SortDirection) Creates a new ViewProperty object with the specified settings and appends it to the XPView.Properties collection.
AddProperty(String, String, Boolean) Creates a new ViewProperty object with the specified expression and appends it to the XPView.Properties collection.
AddProperty(String, String) Creates a new ViewProperty object with the specified expression and appends it to the XPView.Properties collection.
AddProperty(String) Creates a new ViewProperty object with the specified name and appends it to the XPView.Properties collection.
Dispose() Releases all resources used by the Component. Inherited from Component.
Dispose(Boolean) protected Releases the unmanaged resources used by the Component and optionally releases the managed resources. Inherited from Component.
Equals(Object, Object) static Determines 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) protected Returns 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.
LoadAsync() Asynchronously loads data from the data store into the view.
LoadAsync(AsyncLoadObjectsCallback) Asynchronously loads data from the data store into the view, and notifies upon completion.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reload() Clears the view and marks it to be reloaded with data from the data store.
ToString() Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.

Events

Name Description
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
ListChanged Occurs when the view’s settings are changed.
ResolveSession Enables the view to be associated with a session.
See Also