Skip to main content
A newer version of this page is available. .

InstantFeedbackDataSourceBase.DisposeCommand Property

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

Namespace: DevExpress.Xpf.Core.ServerMode

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, 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