menu

UWP

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

    Show / Hide Table of Contents

    Class SpreadsheetPastingEventArgs

    Represents the class which holds the properties of SpreadsheetPasting event.

    Inheritance
    System.Object
    GridCancelEventArgs
    SpreadsheetPastingEventArgs
    Inherited Members
    GridCancelEventArgs.Cancel
    Namespace: Syncfusion.UI.Xaml.Spreadsheet.Helpers
    Assembly: Syncfusion.SfSpreadsheet.UWP.dll
    Syntax
    public class SpreadsheetPastingEventArgs : GridCancelEventArgs

    Constructors

    SpreadsheetPastingEventArgs(GridRangeInfo, GridRangeInfo, Boolean, SpreadsheetGrid, PasteOptions)

    Initializes a new instance of the SpreadsheetPastingEventArgs class.

    Declaration
    public SpreadsheetPastingEventArgs(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 or sets the boolean flag for copy/cut operation.

    Declaration
    public bool IsCut { get; set; }
    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; set; }
    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 or sets the Pasted range.

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

    A GridRangeInfo object.

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved