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

InstantFeedbackDataSourceBase.Dispose() Method

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 void Dispose()

Remarks

When using InstantFeedbackDataSourceBase, 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 Dispose method or by executing the InstantFeedbackDataSourceBase.DisposeCommand. For instance, you can execute this command in an MVVM-friendly manner using the EventTrigger after a window has been closed.

See Also