Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

XPDataView Members

The data source that displays data from result sets.

Constructors

Name Description
XPDataView() Initializes a new instance of the XPDataView class with the default settings.
XPDataView(XPDictionary, XPClassInfo, SelectedData) Initializes a new instance of the XPDataView class, populates it with columns and loads data based on the specified settings.
XPDataView(XPDictionary, XPClassInfo, LoadDataMemberOrderItem[], SelectedData) Initializes a new instance of the XPDataView class, populates it with columns and loads data based on the specified settings.
XPDataView(XPDictionary, XPClassInfo, String[]) Initializes a new instance of the XPDataView class and populates it with columns based on the specified settings.
XPDataView(XPDictionary, XPClassInfo) Initializes a new instance of the XPDataView class, and populates it with columns based on the specified settings.
XPDataView(XPDictionary, IList<String>, IList<Type>) Initializes a new instance of the XPDataView class, and creates columns based on the specified settings.
XPDataView(XPDictionary, List<XPMemberInfo>) Initializes a new instance of the XPDataView class and populates it with columns based on the specified settings.
XPDataView(XPDictionary) Initializes a new instance of the XPDataView class with the specified metadata provider.
XPDataView(IContainer) Initializes a new instance of the XPDataView 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 XPDataView 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 data view.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
Dictionary Gets or sets the metadata provider used to filter and sort data using custom function operators.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
Filter Gets or sets the criteria used to perform client-side filtering of data view rows.
FilterString Gets or sets the string representation of the criteria used to perform client-side filtering of data view rows.
Item[Int32] Provides indexed access to individual records within the data view.
Properties Provides access to the data view’s columns.
Site Gets or sets the ISite of the Component. Inherited from Component.
Sorting Provides access to the collection whose elements specify sorting options for the data view.

Methods

Name Description
AddProperty(String, Type) Creates a new DataViewProperty object with the specified name and type, and appends it to the XPDataView.Properties collection.
CreateObjRef(Type) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject.
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.
GetTargetResultSet(SelectedData) static
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.
LoadData(SelectedData) Loads data from the specified result set to the data view.
LoadOrderedData(LoadDataMemberOrderItem[], SelectedData) Loads data from the specified result set to the data view, mapping data view columns to result set columns.
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.
PopulateProperties(XPClassInfo, String[]) Populates the data view with columns based on the specified metadata information.
PopulateProperties(XPClassInfo) Populates the data view with columns based on the specified metadata information.
PopulateProperties(List<XPMemberInfo>) Populates the data view with columns based on the specified metadata information.
PopulatePropertiesOrdered(XPClassInfo, LoadDataMemberOrderItem[]) Populates the data view with columns based on the specified metadata and mapping information.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
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 data view’s settings are changed.
See Also