Enum
GridViewClipboardPasteMode

Defines modes that indicate how content from the Clipboard is pasted into the RadGridView.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

cs-api-definition
[Flags]
public enum GridViewClipboardPasteMode

Fields

AllSelectedCells

If pasting only one cell from the Clipboard, RadGridView will try to paste it to each selected cell.

Declaration

cs-api-definition
AllSelectedCells = 32

Field Value

GridViewClipboardPasteMode

AllSelectedRows

If pasting one or more items from the Clipboard, RadGridView will try to paste it to each selected row.

Declaration

cs-api-definition
AllSelectedRows = 128

Field Value

GridViewClipboardPasteMode

Cells

Paste into cells.

Declaration

cs-api-definition
Cells = 2

Field Value

GridViewClipboardPasteMode

Default

Paste into cells.

Declaration

cs-api-definition
Default = 2

Field Value

GridViewClipboardPasteMode

InsertNewRows

If pasting one or more items from the Clipboard, RadGridView will try to create new row for them.

Declaration

cs-api-definition
InsertNewRows = 256

Field Value

GridViewClipboardPasteMode

None

Pasting is disabled.

Declaration

cs-api-definition
None = 1

Field Value

GridViewClipboardPasteMode

OverwriteWithEmptyValues

When pasting, if the Clipboard data contains empty cells, RadGridView cells that correspond to them should be cleared.

Declaration

cs-api-definition
OverwriteWithEmptyValues = 4

Field Value

GridViewClipboardPasteMode

SkipFirstLine

Skips the first line from the Clipboard data. Useful if the first line is a header row.

Declaration

cs-api-definition
SkipFirstLine = 8

Field Value

GridViewClipboardPasteMode

SkipHiddenColumns

Will not paste values in a GridViewColumn if its IsVisible property is set to false.

Declaration

cs-api-definition
SkipHiddenColumns = 64

Field Value

GridViewClipboardPasteMode

SkipLastLine

Skips the last line from the Clipboard data. Useful if the last line is a footer row.

Declaration

cs-api-definition
SkipLastLine = 16

Field Value

GridViewClipboardPasteMode