Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

InstantFeedbackDataSourceBase.DisposeCommand Property

Disposes of the InstantFeedbackDataSourceBase object and releases all the allocated resources.

Namespace: DevExpress.Xpf.Core.ServerMode

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

#Declaration

public ICommand DisposeCommand { get; }

#Property Value

Type Description
ICommand

An object implementing the ICommand interface, that defines the command.

#Remarks

When using the EntityInstantFeedbackDataSource, it must be disposed of to terminate the processing thread and release all the resources that it owns. This can be done either by calling its EntityInstantFeedbackDataSource.Dispose method or by executing the DisposeCommand. For instance, you can execute this command in an MVVM-friendly manner using the EventTrigger after a window has been closed.

See Also