DataObjectEventArgs.CommandCancelled Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a value indicating whether the associated command or operation has been canceled.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

public bool CommandCancelled { get; }

Property Value

Type: System.Boolean

true if the command has been canceled; otherwise, false.

Call the CancelCommand method to set this property to true and cancel the associated command or operation.

.NET Framework
Available since 3.0
Return to top