Back to Devexpress

XPDataView Members

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

latest13.2 KB
Original Source

XPDataView Members

The data source that displays data from result sets.

Constructors

NameDescription
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

NameDescription
CanRaiseEvents protectedGets a value indicating whether the component can raise an event. Inherited from Component.
CaseSensitiveGets or sets whether string comparisons evaluated by the XPDataView on the client are case-sensitive.
ContainerGets the IContainer that contains the Component. Inherited from Component.
CountGets the number of records within the data view.
DesignMode protectedGets a value that indicates whether the Component is currently in design mode. Inherited from Component.
DictionaryGets or sets the metadata provider used to filter and sort data using custom function operators.
Events protectedGets the list of event handlers that are attached to this Component. Inherited from Component.
FilterGets or sets the criteria used to perform client-side filtering of data view rows.
FilterStringGets 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.
PropertiesProvides access to the data view’s columns.
SiteGets or sets the ISite of the Component. Inherited from Component.
SortingProvides access to the collection whose elements specify sorting options for the data view.

Methods

NameDescription
AddProperty(String, Type)Creates a new DataViewProperty object with the specified name and type, and appends it to the XPDataView.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.
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() 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(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) staticDetermines 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

NameDescription
DisposedOccurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
ListChangedOccurs when the data view’s settings are changed.

See Also

XPDataView Class

DevExpress.Xpo Namespace