Back to Devexpress

ClipboardAccessPolicy.Cleared Event

corelibraries-devexpress-dot-data-dot-utils-dot-clipboardaccesspolicy-1cb58875.md

latest3.5 KB
Original Source

ClipboardAccessPolicy.Cleared Event

Fires after a DevExpress UI control has cleared the clipboard.

Namespace : DevExpress.Data.Utils

Assembly : DevExpress.Data.Desktop.v25.2.dll

NuGet Packages : DevExpress.Data.Desktop, DevExpress.ExpressApp.Win.Design

Declaration

csharp
public static event EventHandler<ClipboardAccessPolicy.ClipboardOperationEventArgs> Cleared
vb
Public Shared Event Cleared As EventHandler(Of ClipboardAccessPolicy.ClipboardOperationEventArgs)

Event Data

The Cleared event's data class is ClipboardAccessPolicy.ClipboardOperationEventArgs. The following properties provide information specific to this event:

PropertyDescription
DataFormatGets the data format.
DataObjectGets an object that defines a format-independent mechanism for transferring data.
IsClearOperationGets a value that indicates whether the clipboard clear operation is being processed.
IsCopyOperationGets a value that indicates whether the copy-to-clipboard operation is being processed.
IsPasteOperationGets a value that indicates whether the paste-from-clipboard operation is being processed.
OperationGets the clipboard-related operation being processed.

The event data class exposes the following methods:

MethodDescription
ToString()Returns a string representation of the current object.

Remarks

The Clipboard Access Policy fires the Clearing event when a DevExpress UI control attempts to clear the clipboard. Handle the Clearing event to allow (or cancel) the operation based on a specific condition. The Cleared event fires after the DevExpress UI control has cleared the clipboard.

Read the following topic for additional information: Clipboard Access Policy.

See Also

ClipboardAccessPolicy Class

ClipboardAccessPolicy Members

DevExpress.Data.Utils Namespace