Back to Devexpress

PLinqInstantFeedbackDataSource.DisposeCommand Property

wpf-devexpress-dot-xpf-dot-core-dot-servermode-dot-plinqinstantfeedbackdatasource-2feb4591.md

latest2.1 KB
Original Source

PLinqInstantFeedbackDataSource.DisposeCommand Property

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

Namespace : DevExpress.Xpf.Core.ServerMode

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

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Property Value

TypeDescription
ICommand

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

|

Remarks

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

Corresponding Method : PLinqInstantFeedbackDataSource.Dispose.

See Also

PLinqInstantFeedbackDataSource Class

PLinqInstantFeedbackDataSource Members

DevExpress.Xpf.Core.ServerMode Namespace