Class PasteOptions
Configures what content to paste into a range, controlling which cell properties are copied.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class PasteOptions
Constructors
PasteOptions(PasteType, Boolean)
Initializes a new PasteOptions with the specified paste type and blank-skipping behavior.
Declaration
public PasteOptions(PasteType pasteType, bool skipBlanks = false)
Parameters
|
PasteType
pasteType
Type of the paste. |
|
System.Boolean
skipBlanks
The value indicating whether blanks should be skipped. |
Fields
All
Pastes all cell content including values, formulas, formatting, and column widths.
Declaration
public static readonly PasteOptions All
Field Value
|
PasteOptions
|
Properties
PasteType
Gets which content elements are pasted, such as all, values only, or formatting only.
Declaration
public PasteType PasteType { get; }
Property Value
|
PasteType
The type of the paste. |
SkipBlanks
Gets whether blank cells in the source range are ignored during paste, preserving existing target cell values.
Declaration
public bool SkipBlanks { get; }
Property Value
|
System.Boolean
The value indicating whether blanks should be skipped. |