Class SpreadsheetPastedEventArgs
Represents the class which holds the properties of SpreadsheetPasted event.
Inheritance
System.Object
SpreadsheetPastedEventArgs
Namespace: Syncfusion.UI.Xaml.Spreadsheet.Helpers
Assembly: Syncfusion.SfSpreadsheet.UWP.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. |