Skip to main content
All docs
V24.1

ClipboardAccessPolicy Methods

Allows you to control clipboard-related operations initiated by users and DevExpress UI controls for WinForms and WPF.
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.
See Also