Back to Devexpress

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

xpo-devexpress-dot-xpo-dot-xpinstantfeedbacksource-dot-xpinstantfeedbacksource-x28-xpclassinfo-string-criteriaoperator-eventhandler-resolvesessioneventargs-eventhandler-resolvesessioneventargs-x29.md

latest3.7 KB
Original Source

XPInstantFeedbackSource(XPClassInfo, String, CriteriaOperator, EventHandler<ResolveSessionEventArgs>, EventHandler<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.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

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

Parameters

NameTypeDescription
classInfoXPClassInfo

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 | 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.

|

See Also

XPInstantFeedbackSource Class

XPInstantFeedbackSource Members

DevExpress.Xpo Namespace