New to Telerik Document ProcessingStart a free 30-day trial

Configures what content to paste into a range, controlling which cell properties are copied.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public class PasteOptions

Inheritance: objectPasteOptions

Constructors

Initializes a new PasteOptions with the specified paste type and blank-skipping behavior.

C#
public PasteOptions(PasteType pasteType, bool skipBlanks = false)
Parameters:pasteTypePasteType

Type of the paste.

skipBlanksbool

The value indicating whether blanks should be skipped.

Fields

Pastes all cell content including values, formulas, formatting, and column widths.

C#
public static readonly PasteOptions All

Properties

Gets which content elements are pasted, such as all, values only, or formatting only.

C#
public PasteType PasteType { get; }
Property Value:

The type of the paste.

Gets whether blank cells in the source range are ignored during paste, preserving existing target cell values.

C#
public bool SkipBlanks { get; }
Property Value:

The value indicating whether blanks should be skipped.