menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CellCutCopyPasteEventArgs - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CellCutCopyPasteEventArgs

    Provides data for CopyCellContent event.

    Inheritance
    System.Object
    GridCancelEventArgs
    CellCutCopyPasteEventArgs
    Inherited Members
    GridCancelEventArgs.OriginalSender
    Namespace: Syncfusion.WinForms.DataGrid.Events
    Assembly: Syncfusion.SfDataGrid.WinForms.dll
    Syntax
    public class CellCutCopyPasteEventArgs : GridCancelEventArgs

    Constructors

    CellCutCopyPasteEventArgs(Boolean, GridColumn, Object, Object, Object)

    Initializes a new instance of the CellCutCopyPasteEventArgs class.

    Declaration
    public CellCutCopyPasteEventArgs(bool cancel, GridColumn column, object originalSender, object rowData, object clipboardValue)
    Parameters
    Type Name Description
    System.Boolean cancel

    Indicates whether the event is canceled.

    GridColumn column

    The corresponding column that contains the selected cells in row.

    System.Object originalSender

    The source of the event.

    System.Object rowData

    The data item for the row for which the event occurred.

    System.Object clipboardValue

    Contains the value selected cells for copy operation.

    Properties

    Cancel

    Gets or sets a value indicating whether the event was handled.

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

    true if the event is handle; otherwise, false.

    ClipboardValue

    Gets or sets a value indicating whether the object that represents the value of the selected cells being copied.

    Declaration
    public object ClipboardValue { get; set; }
    Property Value
    Type Description
    System.Object

    An object that contains the value of selected cells.

    Column

    Gets the corresponding column that contains the selected cells in the row.

    Declaration
    public GridColumn Column { get; }
    Property Value
    Type
    GridColumn

    Record

    Gets the data item for the row for which the event occurred.

    Declaration
    public object Record { get; }
    Property Value
    Type
    System.Object
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved