Back to Devexpress

ClipboardAccessPolicy Members

corelibraries-devexpress-dot-data-dot-utils-dot-clipboardaccesspolicy-dot-underscore-members.md

latest6.0 KB
Original Source

ClipboardAccessPolicy Members

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

Methods

NameDescription
AllowDataFormats(String[]) staticEnables clipboard-related operations for the specified data formats.
AllowOperation(ClipboardOperation, String) staticEnables the specified clipboard-related operation(s) for the specified data format.
AllowOperation(ClipboardOperation) staticEnables the specified clipboard-related operation.
Equals(Object, Object) staticDetermines 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() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
SuppressAllOperations() staticApplies a policy to suppress all clipboard-related operations within DevExpress WinForms and WPF controls (including operations performed by DevExpress WinForms and WPF controls).
SuppressClearOperations() staticApplies a policy to suppress clipboard clearing operations performed by DevExpress WinForms and WPF controls.
SuppressContainsOperations() staticApplies a policy to suppress clipboard-access operations performed by DevExpress WinForms and WPF controls.
SuppressCopyOperations() staticApplies a policy to suppress all copy-to-clipboard operations within DevExpress WinForms and WPF controls.
SuppressPasteOperations() staticApplies a policy to suppress all paste-from-clipboard operations within DevExpress WinForms and WPF controls.
ThrowAlways() staticApplies a policy that suppresses all clipboard-related operations in DevExpress WinForms and WPF controls.
ThrowOnErrors() staticApplies 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

NameDescription
Cleared staticFires after a DevExpress UI control has cleared the clipboard.
Clearing staticFires when a DevExpress UI control attempts to clear the clipboard and allows you to allow (or cancel) the operation.
Copied staticFires after the user has copied data displayed in a DevExpress control to the clipboard.
Copying staticFires 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 staticAllows you to respond to associated failures.
Pasted staticFires after the user has pasted data into a DevExpress control from the clipboard.
Pasting staticFires 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

ClipboardAccessPolicy Class

DevExpress.Data.Utils Namespace