Table of Contents

Class XPInstantFeedbackSource

Namespace
DevExpress.Xpo
Assembly
DevExpress.Xpo.v24.1.dll

The data source for a DevExpress.XtraGrid.GridControl and DevExpress.XtraEditors.SearchLookUpEdit controls that binds these controls to data in Instant Feedback Mode.

public class XPInstantFeedbackSource : Component, IComponent, IDisposable, IListSource, IXPClassInfoProvider, IXPDictionaryProvider, IDXCloneable
Inheritance
XPInstantFeedbackSource
Implements
IDXCloneable
Inherited Members

Constructors

XPInstantFeedbackSource()

Creates a new instance of the XPInstantFeedbackSource.

public XPInstantFeedbackSource()

XPInstantFeedbackSource(XPClassInfo)

Initializes a new instance of the XPInstantFeedbackSource class for the specified persistent class.

public XPInstantFeedbackSource(XPClassInfo classInfo)

Parameters

classInfo XPClassInfo

An XPClassInfo object that identifies the persistent class describing the target database table.

XPInstantFeedbackSource(XPClassInfo, string, CriteriaOperator)

Initializes a new instance of the XPInstantFeedbackSource class for the specified persistent class, with the specified settings.

public XPInstantFeedbackSource(XPClassInfo classInfo, string displayableProperties, CriteriaOperator fixedCriteria)

Parameters

classInfo XPClassInfo

An XPClassInfo object that identifies the persistent class describing the target data table.

displayableProperties string

A string that is a list of displayable properties, containing property paths separated by semicolons. This parameter value is used to initialize the XPInstantFeedbackSource.DisplayableProperties property.

fixedCriteria CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object, specifying the filter expression applied to data on the data store side.

XPInstantFeedbackSource(XPClassInfo, string, CriteriaOperator, Action<ResolveSessionEventArgs>, Action<ResolveSessionEventArgs>)

Initializes a new instance of the XPInstantFeedbackSource class for the specified persistent class, with the specified settings.

public XPInstantFeedbackSource(XPClassInfo classInfo, string displayableProperties, CriteriaOperator fixedCriteria, Action<ResolveSessionEventArgs> resolveSession, Action<ResolveSessionEventArgs> dismissSession)

Parameters

classInfo XPClassInfo

An XPClassInfo object that identifies the persistent class describing the target data table.

displayableProperties string

A string that is a list of displayable properties, containing property paths separated by semicolons. This parameter value is used to initialize the XPInstantFeedbackSource.DisplayableProperties property.

fixedCriteria CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object specifying the filter expression applied to data on the data store side.

resolveSession Action<ResolveSessionEventArgs>

A System.Action<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.ResolveSession event. The specified delegate is attached to the ResolveSession event.

dismissSession Action<ResolveSessionEventArgs>

A System.Action<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.DismissSession event. The specified delegate is attached to the DismissSession event.

XPInstantFeedbackSource(XPClassInfo, string, CriteriaOperator, EventHandler<ResolveSessionEventArgs>, EventHandler<ResolveSessionEventArgs>)

Initializes a new instance of the XPInstantFeedbackSource class for the specified persistent class, with the specified settings.

public XPInstantFeedbackSource(XPClassInfo classInfo, string displayableProperties, CriteriaOperator fixedCriteria, EventHandler<ResolveSessionEventArgs> resolveSession, EventHandler<ResolveSessionEventArgs> dismissSession)

Parameters

classInfo XPClassInfo

An XPClassInfo object that identifies the persistent class describing the target data table.

displayableProperties string

A string that is a list of displayable properties, containing property paths separated by semicolons. This parameter value is used to initialize the XPInstantFeedbackSource.DisplayableProperties property.

fixedCriteria CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object specifying the filter expression applied to data on the data store side.

resolveSession EventHandler<ResolveSessionEventArgs>

An EventHandler<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.ResolveSession event. The specified delegate is attached to the ResolveSession event.

dismissSession EventHandler<ResolveSessionEventArgs>

An EventHandler<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.DismissSession event. The specified delegate is attached to the DismissSession event.

XPInstantFeedbackSource(IContainer)

Initializes a new instance of the XPInstantFeedbackSource class and adds it to a form’s container.

public XPInstantFeedbackSource(IContainer container)

Parameters

container IContainer

An IContainer object, which is the owner container of the created XPInstantFeedbackSource instance.

XPInstantFeedbackSource(IServiceProvider)

Initializes a new instance of the XPInstantFeedbackSource class with specified settings.

public XPInstantFeedbackSource(IServiceProvider serviceProvider)

Parameters

serviceProvider IServiceProvider

An object that implements the IServiceProvider interface. This object is assigned to the ServiceProvider property of the XPInstantFeedbackSource’s default session.

XPInstantFeedbackSource(IServiceProvider, XPClassInfo)

Initializes a new instance of the XPInstantFeedbackSource class with specified settings.

public XPInstantFeedbackSource(IServiceProvider serviceProvider, XPClassInfo classInfo)

Parameters

serviceProvider IServiceProvider

An object that implements the IServiceProvider interface. This object is assigned to the ServiceProvider property of the XPInstantFeedbackSource’s default session.

classInfo XPClassInfo

An XPClassInfo object that identifies the persistent class describing the target data table.

XPInstantFeedbackSource(IServiceProvider, XPClassInfo, string, CriteriaOperator)

Initializes a new instance of the XPInstantFeedbackSource class with specified settings.

public XPInstantFeedbackSource(IServiceProvider serviceProvider, XPClassInfo classInfo, string displayableProperties, CriteriaOperator fixedCriteria)

Parameters

serviceProvider IServiceProvider

An object that implements the IServiceProvider interface. This object is assigned to the ServiceProvider property of the XPInstantFeedbackSource’s default session.

classInfo XPClassInfo

An XPClassInfo object that identifies the persistent class describing the target database table.

displayableProperties string

A string that is a list of displayable properties, containing property paths separated by semicolons. This parameter value is used to initialize the XPInstantFeedbackSource.DisplayableProperties property.

fixedCriteria CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object specifying the filter expression applied to data on the data store side.

XPInstantFeedbackSource(IServiceProvider, XPClassInfo, string, CriteriaOperator, Action<ResolveSessionEventArgs>, Action<ResolveSessionEventArgs>)

Initializes a new instance of the XPInstantFeedbackSource class with specified settings.

public XPInstantFeedbackSource(IServiceProvider serviceProvider, XPClassInfo classInfo, string displayableProperties, CriteriaOperator fixedCriteria, Action<ResolveSessionEventArgs> resolveSession, Action<ResolveSessionEventArgs> dismissSession)

Parameters

serviceProvider IServiceProvider

An object that implements the IServiceProvider interface. This object is assigned to the ServiceProvider property of the XPInstantFeedbackSource’s default session.

classInfo XPClassInfo

An XPClassInfo object that identifies the persistent class describing the target database table.

displayableProperties string

A string that is a list of displayable properties, containing property paths separated by semicolons. This parameter value is used to initialize the XPInstantFeedbackSource.DisplayableProperties property.

fixedCriteria CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object specifying the filter expression applied to data on the data store side.

resolveSession Action<ResolveSessionEventArgs>

A System.Action<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.ResolveSession event. The specified delegate is attached to the ResolveSession event.

dismissSession Action<ResolveSessionEventArgs>

A System.Action<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.DismissSession event. The specified delegate is attached to the DismissSession event.

XPInstantFeedbackSource(IServiceProvider, XPClassInfo, string, CriteriaOperator, EventHandler<ResolveSessionEventArgs>, EventHandler<ResolveSessionEventArgs>)

Initializes a new instance of the XPInstantFeedbackSource class with specified settings.

public XPInstantFeedbackSource(IServiceProvider serviceProvider, XPClassInfo classInfo, string displayableProperties, CriteriaOperator fixedCriteria, EventHandler<ResolveSessionEventArgs> resolveSession, EventHandler<ResolveSessionEventArgs> dismissSession)

Parameters

serviceProvider IServiceProvider

An object that implements the IServiceProvider interface. This object is assigned to the ServiceProvider property of the XPInstantFeedbackSource’s default session.

classInfo XPClassInfo

An XPClassInfo object that identifies the persistent class describing the target database table.

displayableProperties string

A string that is a list of displayable properties, containing property paths separated by semicolons. This parameter value is used to initialize the XPInstantFeedbackSource.DisplayableProperties property.

fixedCriteria CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object specifying the filter expression applied to data on the data store side.

resolveSession EventHandler<ResolveSessionEventArgs>

An EventHandler<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.ResolveSession event. The specified delegate is attached to the ResolveSession event.

dismissSession EventHandler<ResolveSessionEventArgs>

An EventHandler<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.DismissSession event. The specified delegate is attached to the DismissSession event.

XPInstantFeedbackSource(IServiceProvider, IContainer)

Initializes a new instance of the XPInstantFeedbackSource class with specified settings.

public XPInstantFeedbackSource(IServiceProvider serviceProvider, IContainer container)

Parameters

serviceProvider IServiceProvider

An object that implements the IServiceProvider interface. This object is assigned to the ServiceProvider property of the XPInstantFeedbackSource’s default session.

container IContainer

An IContainer object, which is the owner container of the created XPInstantFeedbackSource instance.

XPInstantFeedbackSource(IServiceProvider, string, string)

Initializes a new instance of the XPInstantFeedbackSource class with specified settings.

public XPInstantFeedbackSource(IServiceProvider serviceProvider, string assemblyName, string typeName)

Parameters

serviceProvider IServiceProvider

An object that implements the IServiceProvider interface. This object is assigned to the ServiceProvider property of the XPInstantFeedbackSource’s default session.

assemblyName string

A string containing the name of the assembly where a persistent class describing the target database table is declared.

typeName string

A string containing the name of a persistent class describing the target database table.

XPInstantFeedbackSource(IServiceProvider, string, string, string, CriteriaOperator)

Initializes a new instance of the XPInstantFeedbackSource class with specified settings.

public XPInstantFeedbackSource(IServiceProvider serviceProvider, string assemblyName, string typeName, string displayableProperties, CriteriaOperator fixedCriteria)

Parameters

serviceProvider IServiceProvider

An object that implements the IServiceProvider interface. This object is assigned to the ServiceProvider property of the XPInstantFeedbackSource’s default session.

assemblyName string

A string containing the name of the assembly where a persistent class describing the target database table is declared.

typeName string

A string containing the name of a persistent class describing the target database table.

displayableProperties string

A string that is a list of displayable properties, containing property paths separated by semicolons. This parameter value is used to initialize the XPInstantFeedbackSource.DisplayableProperties property.

fixedCriteria CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object specifying the filter expression applied to data on the data store side.

XPInstantFeedbackSource(IServiceProvider, string, string, string, CriteriaOperator, Action<ResolveSessionEventArgs>, Action<ResolveSessionEventArgs>)

Initializes a new instance of the XPInstantFeedbackSource class with specified settings.

public XPInstantFeedbackSource(IServiceProvider serviceProvider, string assemblyName, string typeName, string displayableProperties, CriteriaOperator fixedCriteria, Action<ResolveSessionEventArgs> resolveSession, Action<ResolveSessionEventArgs> dismissSession)

Parameters

serviceProvider IServiceProvider

An object that implements the IServiceProvider interface. This object is assigned to the ServiceProvider property of the XPInstantFeedbackSource’s default session.

assemblyName string

A string containing the name of the assembly where a persistent class describing the target database table is declared.

typeName string

A string containing the name of a persistent class describing the target database table.

displayableProperties string

A string that is a list of displayable properties, containing property paths separated by semicolons. This parameter value is used to initialize the XPInstantFeedbackSource.DisplayableProperties property.

fixedCriteria CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object specifying the filter expression applied to data on the data store side.

resolveSession Action<ResolveSessionEventArgs>

A System.Action<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.ResolveSession event. The specified delegate is attached to the ResolveSession event.

dismissSession Action<ResolveSessionEventArgs>

A System.Action<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.DismissSession event. The specified delegate is attached to the DismissSession event.

XPInstantFeedbackSource(IServiceProvider, string, string, string, CriteriaOperator, EventHandler<ResolveSessionEventArgs>, EventHandler<ResolveSessionEventArgs>)

Initializes a new instance of the XPInstantFeedbackSource class with specified settings.

public XPInstantFeedbackSource(IServiceProvider serviceProvider, string assemblyName, string typeName, string displayableProperties, CriteriaOperator fixedCriteria, EventHandler<ResolveSessionEventArgs> resolveSession, EventHandler<ResolveSessionEventArgs> dismissSession)

Parameters

serviceProvider IServiceProvider

An object that implements the IServiceProvider interface. This object is assigned to the ServiceProvider property of the XPInstantFeedbackSource’s default session.

assemblyName string

A string containing the name of the assembly where a persistent class describing the target database table is declared.

typeName string

A string containing the name of a persistent class describing the target database table.

displayableProperties string

A string that is a list of displayable properties, containing property paths separated by semicolons. This parameter value is used to initialize the XPInstantFeedbackSource.DisplayableProperties property.

fixedCriteria CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object specifying the filter expression applied to data on the data store side.

resolveSession EventHandler<ResolveSessionEventArgs>

An EventHandler<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.ResolveSession event. The specified delegate is attached to the ResolveSession event.

dismissSession EventHandler<ResolveSessionEventArgs>

An EventHandler<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.DismissSession event. The specified delegate is attached to the DismissSession event.

XPInstantFeedbackSource(IServiceProvider, Type)

Initializes a new instance of the XPInstantFeedbackSource class with specified settings.

public XPInstantFeedbackSource(IServiceProvider serviceProvider, Type objectType)

Parameters

serviceProvider IServiceProvider

An object that implements the IServiceProvider interface. This object is assigned to the ServiceProvider property of the XPInstantFeedbackSource’s default session.

objectType Type

A Type object that specifies the type of a persistent class describing the target data table. This value is used to initialize the XPInstantFeedbackSource.ObjectType property.

XPInstantFeedbackSource(IServiceProvider, Type, string, CriteriaOperator)

Initializes a new instance of the XPInstantFeedbackSource class with specified settings.

public XPInstantFeedbackSource(IServiceProvider serviceProvider, Type objectType, string displayableProperties, CriteriaOperator fixedCriteria)

Parameters

serviceProvider IServiceProvider

An object that implements the IServiceProvider interface. This object is assigned to the ServiceProvider property of the XPInstantFeedbackSource’s default session.

objectType Type

A Type object that specifies the type of a persistent class describing the target data table. This value is used to initialize the XPInstantFeedbackSource.ObjectType property.

displayableProperties string

A string that is a list of displayable properties, containing property paths separated by semicolons. This parameter value is used to initialize the XPInstantFeedbackSource.DisplayableProperties property.

fixedCriteria CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object specifying the filter expression applied to data on the data store side.

XPInstantFeedbackSource(IServiceProvider, Type, string, CriteriaOperator, Action<ResolveSessionEventArgs>, Action<ResolveSessionEventArgs>)

Initializes a new instance of the XPInstantFeedbackSource class with specified settings.

public XPInstantFeedbackSource(IServiceProvider serviceProvider, Type objectType, string displayableProperties, CriteriaOperator fixedCriteria, Action<ResolveSessionEventArgs> resolveSession, Action<ResolveSessionEventArgs> dismissSession)

Parameters

serviceProvider IServiceProvider

An object that implements the IServiceProvider interface. This object is assigned to the ServiceProvider property of the XPInstantFeedbackSource’s default session.

objectType Type

A Type object that specifies the type of a persistent class describing the target data table. This value is used to initialize the XPInstantFeedbackSource.ObjectType property.

displayableProperties string

A string that is a list of displayable properties, containing property paths separated by semicolons. This parameter value is used to initialize the XPInstantFeedbackSource.DisplayableProperties property.

fixedCriteria CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object specifying the filter expression applied to data on the data store side.

resolveSession Action<ResolveSessionEventArgs>

A System.Action<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.ResolveSession event. The specified delegate is attached to the ResolveSession event.

dismissSession Action<ResolveSessionEventArgs>

A System.Action<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.DismissSession event. The specified delegate is attached to the DismissSession event.

XPInstantFeedbackSource(IServiceProvider, Type, string, CriteriaOperator, EventHandler<ResolveSessionEventArgs>, EventHandler<ResolveSessionEventArgs>)

Initializes a new instance of the XPInstantFeedbackSource class with specified settings.

public XPInstantFeedbackSource(IServiceProvider serviceProvider, Type objectType, string displayableProperties, CriteriaOperator fixedCriteria, EventHandler<ResolveSessionEventArgs> resolveSession, EventHandler<ResolveSessionEventArgs> dismissSession)

Parameters

serviceProvider IServiceProvider

An object that implements the IServiceProvider interface. This object is assigned to the ServiceProvider property of the XPInstantFeedbackSource’s default session.

objectType Type

A Type object that specifies the type of a persistent class describing the target data table. This value is used to initialize the XPInstantFeedbackSource.ObjectType property.

displayableProperties string

A string that is a list of displayable properties, containing property paths separated by semicolons. This parameter value is used to initialize the XPInstantFeedbackSource.DisplayableProperties property.

fixedCriteria CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object specifying the filter expression applied to data on the data store side.

resolveSession EventHandler<ResolveSessionEventArgs>

An EventHandler<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.ResolveSession event. The specified delegate is attached to the ResolveSession event.

dismissSession EventHandler<ResolveSessionEventArgs>

An EventHandler<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.DismissSession event. The specified delegate is attached to the DismissSession event.

XPInstantFeedbackSource(string, string)

Initializes a new instance of the XPInstantFeedbackSource class for the specified persistent class.

public XPInstantFeedbackSource(string assemblyName, string typeName)

Parameters

assemblyName string

A string containing the name of the assembly where a persistent class describing the target database table is declared.

typeName string

A string containing the name of a persistent class describing the target database table.

XPInstantFeedbackSource(string, string, string, CriteriaOperator)

Initializes a new instance of the XPInstantFeedbackSource class for the specified persistent class, with the specified settings.

public XPInstantFeedbackSource(string assemblyName, string typeName, string displayableProperties, CriteriaOperator fixedCriteria)

Parameters

assemblyName string

A string containing the name of the assembly where a persistent class describing the target database table is declared.

typeName string

A string containing the name of a persistent class describing the target database table.

displayableProperties string

A string that is a list of displayable properties, containing property paths separated by semicolons. This parameter value is used to initialize the XPInstantFeedbackSource.DisplayableProperties property.

fixedCriteria CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object specifying the filter expression applied to data on the data store side.

XPInstantFeedbackSource(string, string, string, CriteriaOperator, Action<ResolveSessionEventArgs>, Action<ResolveSessionEventArgs>)

Initializes a new instance of the XPInstantFeedbackSource class for the specified persistent class, with the specified settings.

public XPInstantFeedbackSource(string assemblyName, string typeName, string displayableProperties, CriteriaOperator fixedCriteria, Action<ResolveSessionEventArgs> resolveSession, Action<ResolveSessionEventArgs> dismissSession)

Parameters

assemblyName string

A string containing the name of the assembly where a persistent class describing the target database table is declared.

typeName string

A string containing the name of a persistent class describing the target database table.

displayableProperties string

A string representing a list of displayable properties, containing property paths separated by semicolons. This parameter value is used to initialize the XPInstantFeedbackSource.DisplayableProperties property.

fixedCriteria CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object specifying the filter expression applied to data on the data store side.

resolveSession Action<ResolveSessionEventArgs>

A System.Action<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.ResolveSession event. The specified delegate is attached to the ResolveSession event.

dismissSession Action<ResolveSessionEventArgs>

A System.Action<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.DismissSession event. The specified delegate is attached to the DismissSession event.

XPInstantFeedbackSource(string, string, string, CriteriaOperator, EventHandler<ResolveSessionEventArgs>, EventHandler<ResolveSessionEventArgs>)

Initializes a new instance of the XPInstantFeedbackSource class for the specified persistent class, with the specified settings.

public XPInstantFeedbackSource(string assemblyName, string typeName, string displayableProperties, CriteriaOperator fixedCriteria, EventHandler<ResolveSessionEventArgs> resolveSession, EventHandler<ResolveSessionEventArgs> dismissSession)

Parameters

assemblyName string

A string containing the name of the assembly where a persistent class describing the target database table is declared.

typeName string

A string containing the name of a persistent class describing the target database table.

displayableProperties string

A string that is a list of displayable properties, containing property paths separated by semicolons. This parameter value is used to initialize the XPInstantFeedbackSource.DisplayableProperties property.

fixedCriteria CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object specifying the filter expression applied to data on the data store side.

resolveSession EventHandler<ResolveSessionEventArgs>

An EventHandler<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.ResolveSession event. The specified delegate is attached to the ResolveSession event.

dismissSession EventHandler<ResolveSessionEventArgs>

An EventHandler<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.DismissSession event. The specified delegate is attached to the DismissSession event.

XPInstantFeedbackSource(Type)

Initializes a new instance of the XPInstantFeedbackSource class for the specified persistent class.

public XPInstantFeedbackSource(Type objectType)

Parameters

objectType Type

A Type object that specifies the type of a persistent class describing the target database table. This value is used to initialize the XPInstantFeedbackSource.ObjectType property.

XPInstantFeedbackSource(Type, string, CriteriaOperator)

Initializes a new instance of the XPInstantFeedbackSource class for the specified persistent class, with the specified settings.

public XPInstantFeedbackSource(Type objectType, string displayableProperties, CriteriaOperator fixedCriteria)

Parameters

objectType Type

A Type object that specifies the type of a persistent class describing the target data table. This value is used to initialize the XPInstantFeedbackSource.ObjectType property.

displayableProperties string

A string that is a list of displayable properties, containing property paths separated by semicolons. This parameter value is used to initialize the XPInstantFeedbackSource.DisplayableProperties property.

fixedCriteria CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object specifying the filter expression applied to data on the data store side.

XPInstantFeedbackSource(Type, string, CriteriaOperator, Action<ResolveSessionEventArgs>, Action<ResolveSessionEventArgs>)

Initializes a new instance of the XPInstantFeedbackSource class for the specified persistent class, with the specified settings.

public XPInstantFeedbackSource(Type objectType, string displayableProperties, CriteriaOperator fixedCriteria, Action<ResolveSessionEventArgs> resolveSession, Action<ResolveSessionEventArgs> dismissSession)

Parameters

objectType Type

A Type object that specifies the type of a persistent class describing the target data table. This value is used to initialize the XPInstantFeedbackSource.ObjectType property.

displayableProperties string

A string that is a list of displayable properties, containing property paths separated by semicolons. This parameter value is used to initialize the XPInstantFeedbackSource.DisplayableProperties property.

fixedCriteria CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object specifying the filter expression applied to data on the data store side.

resolveSession Action<ResolveSessionEventArgs>

A System.Action<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.ResolveSession event. The specified delegate is attached to the ResolveSession event.

dismissSession Action<ResolveSessionEventArgs>

A System.Action<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.DismissSession event. The specified delegate is attached to the DismissSession event.

XPInstantFeedbackSource(Type, string, CriteriaOperator, EventHandler<ResolveSessionEventArgs>, EventHandler<ResolveSessionEventArgs>)

Initializes a new instance of the XPInstantFeedbackSource class for the specified persistent class, with the specified settings.

public XPInstantFeedbackSource(Type objectType, string displayableProperties, CriteriaOperator fixedCriteria, EventHandler<ResolveSessionEventArgs> resolveSession, EventHandler<ResolveSessionEventArgs> dismissSession)

Parameters

objectType Type

A Type object that specifies the type of a persistent class describing the target data table. This value is used to initialize the XPInstantFeedbackSource.ObjectType property.

displayableProperties string

A string that is a list of displayable properties, containing property paths separated by semicolons. This parameter value is used to initialize the XPInstantFeedbackSource.DisplayableProperties property.

fixedCriteria CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object specifying the filter expression applied to data on the data store side.

resolveSession EventHandler<ResolveSessionEventArgs>

An EventHandler<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.ResolveSession event. The specified delegate is attached to the ResolveSession event.

dismissSession EventHandler<ResolveSessionEventArgs>

An EventHandler<ResolveSessionEventArgs> delegate, which is a method that will handle the XPInstantFeedbackSource.DismissSession event. The specified delegate is attached to the DismissSession event.

Properties

DefaultSorting

Specifies how data source contents are sorted by default, when sort order is not specified by the bound control.

public string DefaultSorting { get; set; }

Property Value

string

A string object which contains the names of the columns against which data source contents are sorted.

DisplayableProperties

Specifies the properties that are available for binding in bound data-aware controls.

public string DisplayableProperties { get; set; }

Property Value

string

A string representing a list of property descriptors, containing property paths separated by semicolons. For example, “FirstName;LastName;Company.Name;Address.City”.

FixedFilterCriteria

Specifies the criteria used to filter objects on the data store side. These criteria are never affected by bound data-aware controls.

[TypeConverter("DevExpress.Xpo.Design.CriteriaConverter, DevExpress.Xpo.v24.1.Design, Version=24.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a")]
public CriteriaOperator FixedFilterCriteria { get; set; }

Property Value

CriteriaOperator

A DevExpress.Data.Filtering.CriteriaOperator object specifying the filter expression applied to data on the data store side.

FixedFilterString

Specifies a string representation of an expression used to filter objects on the data store side. This filter is never affected by bound data-aware controls.

[Browsable(false)]
public string FixedFilterString { get; set; }

Property Value

string

A string specifying the filter expression applied to data on the data store side.

IsDesignMode

protected bool IsDesignMode { get; }

Property Value

bool

ObjectType

Specifies the persistent class describing the target database table.

[TypeConverter(typeof(XPInstantFeedbackSourceObjectTypeConverter))]
public Type ObjectType { get; set; }

Property Value

Type

A Type object that specifies the type of a persistent class describing the target database table.

Methods

CreateRuntimeCore()

protected virtual XPAsyncListServerCore CreateRuntimeCore()

Returns

XPAsyncListServerCore

CreateRuntimeProxy(XPAsyncListServerCore)

protected virtual AsyncListServer2DatacontrollerProxy CreateRuntimeProxy(XPAsyncListServerCore core)

Parameters

core XPAsyncListServerCore

Returns

AsyncListServer2DatacontrollerProxy

DXClone()

protected virtual object DXClone()

Returns

object

DXCloneCreate()

protected virtual XPInstantFeedbackSource DXCloneCreate()

Returns

XPInstantFeedbackSource

Dispose(bool)

protected override void Dispose(bool disposing)

Parameters

disposing bool

Refresh()

Refreshes the XPInstantFeedbackSource.

public void Refresh()

Events

DismissSession

Occurs when the XPInstantFeedbackSource no longer needs the Session it used to retrieve objects from the data store.

public event EventHandler<ResolveSessionEventArgs> DismissSession

Event Type

EventHandler<ResolveSessionEventArgs>

ResolveSession

Occurs when the XPInstantFeedbackSource needs a Session, to retrieve objects from the data store.

public event EventHandler<ResolveSessionEventArgs> ResolveSession

Event Type

EventHandler<ResolveSessionEventArgs>