menu

WPF

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

    Show / Hide Table of Contents

    Class SpreadsheetPastedEventArgs

    Represents the class which holds the properties of SpreadsheetPasted event.

    Inheritance
    System.Object
    System.EventArgs
    SpreadsheetPastedEventArgs
    Inherited Members
    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)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.Spreadsheet.Helpers
    Assembly: Syncfusion.SfSpreadsheet.WPF.dll
    Syntax
    public class SpreadsheetPastedEventArgs : EventArgs

    Constructors

    SpreadsheetPastedEventArgs(GridRangeInfo, GridRangeInfo, Boolean, SpreadsheetGrid, PasteOptions)

    Initializes a new instance of the SpreadsheetPastedEventArgs class.

    Declaration
    public SpreadsheetPastedEventArgs(GridRangeInfo range, GridRangeInfo range1, bool iscut, SpreadsheetGrid grid, PasteOptions option)
    Parameters
    Type Name Description
    GridRangeInfo range

    Copied range.

    GridRangeInfo range1

    Pasted range.

    System.Boolean iscut

    If True, cut operation; else copy operation.

    SpreadsheetGrid grid

    Current grid.

    PasteOptions option

    One of the enum option PasteOptions.

    Properties

    Grid

    Gets the active grid in SfSpreadsheet.

    Declaration
    public SpreadsheetGrid Grid { get; }
    Property Value
    Type Description
    SpreadsheetGrid

    An instance of SpreadsheetGrid.

    IsCut

    Gets the boolean flag for copy/cut operation.

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

    If true, cut operation;else copy operation.

    PasteOption

    Gets or sets the PasteOptions enum for paste operation .

    Declaration
    public PasteOptions PasteOption { get; }
    Property Value
    Type Description
    PasteOptions

    An instance of PasteOptions.

    SourceRange

    Gets the Copied range.

    Declaration
    public GridRangeInfo SourceRange { get; }
    Property Value
    Type Description
    GridRangeInfo

    A GridRangeInfo object.

    TargetRange

    Gets the Pasted range.

    Declaration
    public GridRangeInfo TargetRange { get; }
    Property Value
    Type Description
    GridRangeInfo

    A GridRangeInfo object.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved