New to Telerik UI for WPFStart a free 30-day trial

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:

C#
[Flags]
public enum GridViewClipboardPasteMode

Fields

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

C#
AllSelectedCells = 32

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

C#
AllSelectedRows = 128

Paste into cells.

C#
Cells = 2

Paste into cells.

C#
Default = 2

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

C#
InsertNewRows = 256

Pasting is disabled.

C#
None = 1

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

C#
OverwriteWithEmptyValues = 4

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

C#
SkipFirstLine = 8

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

C#
SkipHiddenColumns = 64

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

C#
SkipLastLine = 16