Class BeforeCopyPasteEventArgs
Provides information about the BeforeCopyPaste event.
Inherited Members
Namespace: Syncfusion.Blazor.Grids
Assembly: Syncfusion.Blazor.dll
Syntax
public class BeforeCopyPasteEventArgs : GridEventBaseArgs
Constructors
BeforeCopyPasteEventArgs()
Declaration
public BeforeCopyPasteEventArgs()
Properties
Action
Gets the current action whether it is Copy or Paste.
Declaration
public string Action { get; }
Property Value
Type | Description |
---|---|
System.String | When copy action is performed then the value will be |
Remarks
If the Copy action is prevented using Cancel
argument, then the corresponding Paste events doesn't trigger, since Paste events will be triggered based on clipboard text.
Cancel
Gets or sets a value indicating whether to cancel the entire copy, paste action in the grid.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is |
ClipboardText
Gets or sets the copied content of the selected cells or rows.
Declaration
public string ClipboardText { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string that represents the copied content of the selected cells or rows. The default value is |