Back to Devexpress

TreeListControlBase.CopyRangeToClipboard(TreeListNode, TreeListNode) Method

wpf-devexpress-dot-xpf-dot-grid-dot-treelistcontrolbase-dot-copyrangetoclipboard-x28-devexpress-dot-xpf-dot-grid-dot-treelistnode-devexpress-dot-xpf-dot-grid-dot-treelistnode-x29.md

latest2.7 KB
Original Source

TreeListControlBase.CopyRangeToClipboard(TreeListNode, TreeListNode) Method

Copies values displayed within the specified range of nodes to the clipboard.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public void CopyRangeToClipboard(
    TreeListNode startNode,
    TreeListNode endNode
)
vb
Public Sub CopyRangeToClipboard(
    startNode As TreeListNode,
    endNode As TreeListNode
)

Parameters

NameTypeDescription
startNodeTreeListNode

A TreeListNode object that is the first node in the range.

| | endNode | TreeListNode |

A TreeListNode object that is the last node in the range.

|

Remarks

To copy values displayed within selected nodes, use the DataControlBase.CopySelectedItemsToClipboard method. To copy values displayed within the specified nodes, use the TreeListControlBase.CopyRowsToClipboard method.

All of these methods do nothing if the DataControlBase.ClipboardCopyMode property is set to None.

To learn more, see Clipboard Management.

See Also

CopySelectedItemsToClipboard()

CopyRowsToClipboard(IEnumerable<TreeListNode>)

ClipboardCopyMode

TreeListControlBase Class

TreeListControlBase Members

DevExpress.Xpf.Grid Namespace