'Declaration Public Event ClipboardOperationError As EventHandler(Of ClipboardOperationErrorEventArgs)
public event EventHandler<ClipboardOperationErrorEventArgs> ClipboardOperationError
The event handler receives an argument of type ClipboardOperationErrorEventArgs containing data related to this event. The following ClipboardOperationErrorEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Action | Returns or sets a value indicating whether and how to proceed with the specified Operation. |
CanContinueWithRemainingCells | Specifies whether the operation can continue with remaining cells. |
Cell | Returns the cell for which the specified Operation could not be performed or null if the entire operation could not be performed. |
DisplayErrorMessage | Returns or sets whether an error message should be displayed to the end user. |
Error | Returns an enumeration used to identify the type of error that occurred. |
Exception | Returns the exception, if any, that resulted in the error. |
Field | Returns the Field associated with the error. |
Handled (Inherited from System.Windows.RoutedEventArgs) | Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. |
Message | Gets/sets the message that will be displayed to the user. |
Operation | Returns the type of operation that was being performed when the error occurred. |
OriginalSource (Inherited from System.Windows.RoutedEventArgs) | Gets the original reporting source as determined by pure hit testing, before any possible System.Windows.RoutedEventArgs.Source adjustment by a parent class. |
Record | Returns the record associated with the error. |
RoutedEvent (Inherited from System.Windows.RoutedEventArgs) | Gets or sets the System.Windows.RoutedEventArgs.RoutedEvent associated with this System.Windows.RoutedEventArgs instance. |
Source (Inherited from System.Windows.RoutedEventArgs) | Gets or sets a reference to the object that raised the event. |
This event occurs while processing a clipboard operation such as a cut, copy, paste or delete if an exception is encountered. When the event is raised for a specific Infragistics.Windows.DataPresenter.Events.ClipboardOperationErrorEventArgs.Cell, the Infragistics.Windows.DataPresenter.Events.ClipboardOperationErrorEventArgs.Action can be used to determine whether and how the processing should continue. In addition, the event can be used to control what error message, if any, is provided to the end-user.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2