Back to Devexpress

TreeListView.CopyRangeToClipboard(TreeListNode, TreeListNode) Method

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

latest2.8 KB
Original Source

TreeListView.CopyRangeToClipboard(TreeListNode, TreeListNode) Method

OBSOLETE

Use the TreeListControl.CopyRangeToClipboard method instead

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
[Obsolete("Use the TreeListControl.CopyRangeToClipboard method instead")]
[Browsable(false)]
public void CopyRangeToClipboard(
    TreeListNode startNode,
    TreeListNode endNode
)
vb
<Obsolete("Use the TreeListControl.CopyRangeToClipboard method instead")>
<Browsable(False)>
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<Int32>)

ClipboardCopyMode

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace