InstantFeedbackDataSourceBase.DisposeCommand Property

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

Namespace: DevExpress.Xpf.Core.ServerMode

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

Declaration

public ICommand DisposeCommand { get; }
Public ReadOnly Property DisposeCommand As ICommand

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