Skip to main content

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