Back to Devexpress

ODataInstantFeedbackSource.DismissSource Event

corelibraries-devexpress-dot-data-dot-odatalinq-dot-odatainstantfeedbacksource-f1528b25.md

latest3.5 KB
Original Source

ODataInstantFeedbackSource.DismissSource Event

Occurs when the ODataInstantFeedbackSource no longer needs the queryable source it used to retrieve objects from the OData service.

Namespace : DevExpress.Data.ODataLinq

Assembly : DevExpress.Data.v25.2.dll

NuGet Package : DevExpress.Data

Declaration

csharp
public event EventHandler<GetSourceEventArgs> DismissSource
vb
Public Event DismissSource As EventHandler(Of GetSourceEventArgs)

Event Data

The DismissSource event's data class is GetSourceEventArgs. The following properties provide information specific to this event:

PropertyDescription
AreSourceRowsThreadSafeSpecifies whether elements retrieved by the ODataInstantFeedbackSource‘s queryable source are thread-safe.
ExtenderThis property is intended for internal use.
KeyExpressionsGets or sets the name of the key property.
Properties
QuerySpecifies the query request to the OData service.
TagGets or sets an arbitrary object associated with a queryable source.

Remarks

You can access the object you have assigned to the GetSourceEventArgs.Tag property in the ODataInstantFeedbackSource.GetSource event handler.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DismissSource event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

connect-winforms-grid-to-webapi-service/CS/WinForms.Client/MainForm.cs#L14

csharp
// This line of code is generated by Data Source Configuration Wizard
this.oDataInstantFeedbackSource1.DismissSource += oDataInstantFeedbackSource1_DismissSource;

See Also

ODataInstantFeedbackSource Class

ODataInstantFeedbackSource Members

DevExpress.Data.ODataLinq Namespace