menu

WinForms

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

    Show / Hide Table of Contents

    Class GridCutPasteEventArgs

    Provides data about the CutPaste: Paste() CanPaste() Cut() CanCut() Copy() and CanCopy() events.

    Inheritance
    System.Object
    System.EventArgs
    SyncfusionEventArgs
    SyncfusionHandledEventArgs
    GridCutPasteEventArgs
    Inherited Members
    SyncfusionEventArgs.ToString()
    SyncfusionHandledEventArgs.Handled
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public class GridCutPasteEventArgs : SyncfusionHandledEventArgs
    Remarks

    GridCutPasteEventArgs is a custom event argument class used by the CutPaste operations in a GridModel.

    This event lets you supply your own clipboard formats or add support for pasting additional clipboard content.

    Constructors

    GridCutPasteEventArgs(Boolean, Boolean, Int32, GridRangeInfoList)

    Initializes a new instances ofGridCutPasteEventArgs class.

    Declaration
    public GridCutPasteEventArgs(bool ignoreCurrentCell, bool result, int clipboardFlags, GridRangeInfoList rangeList)
    Parameters
    Type Name Description
    System.Boolean ignoreCurrentCell

    Ignore the current cell position.

    System.Boolean result

    The value that the called method should return.

    System.Int32 clipboardFlags

    Customize behavior of default clipboard operations.

    GridRangeInfoList rangeList

    You can save here a list of ranges that have been copied.

    Properties

    ClipboardFlags

    Gets or sets customize behavior of default clipboard operations. This property will only be checked by the calling method if you do not set Handled to True. Allows you to specify if text or styles should be copied or if row or column headers should be included.

    Declaration
    [TraceProperty(true)]
    public int ClipboardFlags { get; set; }
    Property Value
    Type
    System.Int32

    DataObject

    Gets or sets the DataObject to be used for further clipboard operations. This property will only be checked by the calling method if you do not set Handled to true. Can be NULL.

    Declaration
    public DataObject DataObject { get; set; }
    Property Value
    Type
    System.Windows.Forms.DataObject

    IgnoreCurrentCell

    Gets or sets a value indicating whether to ignore the current cell. This property will only be checked by the calling method if you do not set Handled to True.

    Declaration
    [TraceProperty(true)]
    public bool IgnoreCurrentCell { get; set; }
    Property Value
    Type
    System.Boolean

    RangeList

    Gets or sets range list. You can save here a list of ranges that have been copied. This property will only be checked for the Copy operation. Can be NULL.

    Declaration
    [TraceProperty(true)]
    public GridRangeInfoList RangeList { get; set; }
    Property Value
    Type
    GridRangeInfoList

    Result

    Gets or sets a value indicating whether the return value the called method should return when you set Handled to True.

    Declaration
    [TraceProperty(true)]
    public bool Result { get; set; }
    Property Value
    Type
    System.Boolean
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved