.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

XPInstantFeedbackSource(XPClassInfo, String, CriteriaOperator, Action<ResolveSessionEventArgs>, Action<ResolveSessionEventArgs>) Constructor

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.1.dll

Declaration

public XPInstantFeedbackSource(
    XPClassInfo classInfo,
    string displayableProperties,
    CriteriaOperator fixedCriteria,
    Action<ResolveSessionEventArgs> resolveSession,
    Action<ResolveSessionEventArgs> dismissSession
)
Public Sub New(
    classInfo As XPClassInfo,
    displayableProperties As String,
    fixedCriteria As CriteriaOperator,
    resolveSession As Action(Of ResolveSessionEventArgs),
    dismissSession As Action(Of ResolveSessionEventArgs)
)

Parameters

Name Type Description
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 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.

See Also