Class BeforePasteActionEventArgs
Provides information about the BeforePasteAction event.
Inheritance
Namespace: Syncfusion.Blazor.Spreadsheet
Assembly: Syncfusion.Blazor.dll
Syntax
public class BeforePasteActionEventArgs : Object
Constructors
BeforePasteActionEventArgs()
Declaration
public BeforePasteActionEventArgs()
Properties
Cancel
Gets or sets a value indicating whether the paste operation should be canceled.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A boolean value that determines if the operation should be canceled. The default value is |
ClipboardTextValue
Gets or sets the external copied clipboard content.
Declaration
public string[] ClipboardTextValue { get; set; }
Property Value
Type | Description |
---|---|
System.String[] | An array of strings representing the content copied to the clipboard from an external source. The default value is |
Remarks
This property contains the content copied from an external source and pasted into the clipboard. For internal clipboard content values, you can fetch them from the worksheet using the Syncfusion.Blazor.Spreadsheet.Internal.CopiedInfo.Range.
CopiedInfo
Gets or sets the informations about the copied content.
Declaration
public CopiedInfo CopiedInfo { get; set; }
Property Value
Type | Description |
---|---|
Syncfusion.Blazor.Spreadsheet.Internal.CopiedInfo | A Syncfusion.Blazor.Spreadsheet.Internal.CopiedInfo object containing details about the copied content. |
PasteRange
Gets or sets the address of the cell range where the content will be pasted.
Declaration
public string PasteRange { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the address of the range of cells involved in the paste operation. |
PasteSheetName
Gets or sets the name of the sheet where the content will be pasted.
Declaration
public string PasteSheetName { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the name of the sheet involved in the paste operation. |