Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BeforeCopyPasteEventArgs

    Show / Hide Table of Contents

    Class BeforeCopyPasteEventArgs

    Provides information about the BeforeCopyPaste event.

    Inheritance
    System.Object
    GridEventBaseArgs
    BeforeCopyPasteEventArgs
    BeforeCopyPasteEventArgs
    Inherited Members
    GridEventBaseArgs.PreventRender
    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 Copy and when paste action is performed then the value will be Paste.

    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 whether to cancel the entire copy, paste action.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    ClipboardText

    Gets or sets the copied selected cells/rows content.

    Declaration
    public string ClipboardText { get; set; }
    Property Value
    Type Description
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved