menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridCutPasteEventArgs - WPF 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.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.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(GridRangeInfoList)

    Initializes a new GridCutPasteEventArgs object.

    Declaration
    public GridCutPasteEventArgs(GridRangeInfoList rangeList)
    Parameters
    Type Name Description
    GridRangeInfoList rangeList

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

    GridCutPasteEventArgs(GridRangeInfoList, String)

    Declaration
    public GridCutPasteEventArgs(GridRangeInfoList rangeList, string buffer)
    Parameters
    Type Name Description
    GridRangeInfoList rangeList
    System.String buffer

    Properties

    ClipboardText

    Declaration
    public string ClipboardText { get; set; }
    Property Value
    Type
    System.String

    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.DataObject

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved