Skip to main content
All docs
V24.1

ClipboardAccessPolicy Members

Allows you to control clipboard-related operations initiated by users and DevExpress UI controls for WinForms and WPF.

Methods

Name Description
AllowDataFormats(String[]) static Enables clipboard-related operations for the specified data formats.
AllowOperation(ClipboardOperation, String) static Enables the specified clipboard-related operation(s) for the specified data format.
AllowOperation(ClipboardOperation) static Enables the specified clipboard-related operation.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SuppressAllOperations() static Applies a policy to suppress all clipboard-related operations within DevExpress WinForms and WPF controls (including operations performed by DevExpress WinForms and WPF controls).
SuppressClearOperations() static Applies a policy to suppress clipboard clearing operations performed by DevExpress WinForms and WPF controls.
SuppressContainsOperations() static Applies a policy to suppress clipboard-access operations performed by DevExpress WinForms and WPF controls.
SuppressCopyOperations() static Applies a policy to suppress all copy-to-clipboard operations within DevExpress WinForms and WPF controls.
SuppressPasteOperations() static Applies a policy to suppress all paste-from-clipboard operations within DevExpress WinForms and WPF controls.
ThrowAlways() static Applies a policy that suppresses all clipboard-related operations in DevExpress WinForms and WPF controls.
ThrowOnErrors() static Applies a policy that throws an exception when a clipboard-related operation fails in a DevExpress WinForms or WPF control.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
Cleared static Fires after a DevExpress UI control has cleared the clipboard.
Clearing static Fires when a DevExpress UI control attempts to clear the clipboard and allows you to allow (or cancel) the operation.
Copied static Fires after the user has copied data displayed in a DevExpress control to the clipboard.
Copying static Fires when the user attempts to copy data displayed in a DevExpress control to the clipboard and allows you to allow (or cancel) the operation.
Failed static Allows you to respond to associated failures.
Pasted static Fires after the user has pasted data into a DevExpress control from the clipboard.
Pasting static Fires when the user attempts to paste data into a DevExpress control from the clipboard and allows you to allow (or cancel) the operation.
See Also