Class CopyPasteResultBase
Base class for reporting the outcome of copy-paste operations in worksheets.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class CopyPasteResultBase
Constructors
CopyPasteResultBase(Boolean, String, String)
Initializes a new result with the specified success state and optional error details.
Declaration
protected CopyPasteResultBase(bool success, string errorMessage = "", string errorMessageLocalizationKey = "")
Parameters
|
System.Boolean
success
The success. |
|
System.String
errorMessage
The error message. |
|
System.String
errorMessageLocalizationKey
The error message localization key. |
Properties
ErrorMessage
The error message describing why the paste operation failed, or empty if successful.
Declaration
public string ErrorMessage { get; }
Property Value
|
System.String
The error message. |
Success
Whether the paste operation completed successfully without errors.
Declaration
public bool Success { get; }
Property Value
|
System.Boolean
The value indicating whether the paste was successful. |