ClipboardAccessPolicy.Cleared Event
Fires after a DevExpress UI control has cleared the clipboard.
Namespace: DevExpress.Data.Utils
Assembly: DevExpress.Data.Desktop.v24.2.dll
Declaration
public static event EventHandler<ClipboardAccessPolicy.ClipboardOperationEventArgs> Cleared
Event Data
The Cleared event's data class is ClipboardAccessPolicy.ClipboardOperationEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
DataFormat | Gets the data format. |
DataObject | Gets an object that defines a format-independent mechanism for transferring data. |
IsClearOperation | Gets a value that indicates whether the clipboard clear operation is being processed. |
IsCopyOperation | Gets a value that indicates whether the copy-to-clipboard operation is being processed. |
IsPasteOperation | Gets a value that indicates whether the paste-from-clipboard operation is being processed. |
Operation | Gets the clipboard-related operation being processed. |
The event data class exposes the following methods:
Method | Description |
---|---|
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.