Skip to main content

TreeListControl.CopyRangeToClipboard(TreeListNode, TreeListNode) Method

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

Namespace: DevExpress.Xpf.Grid

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

#Declaration

public void CopyRangeToClipboard(
    TreeListNode startNode,
    TreeListNode endNode
)

#Parameters

Name Type Description
startNode TreeListNode

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 the values displayed within selected nodes, use the DataControlBase.CopySelectedItemsToClipboard method. To copy the values displayed within the specified nodes, use the TreeListControl.CopyRowsToClipboard method.

All these methods do nothing if the DataViewBase.ClipboardCopyAllowed property is set to false.

To learn more, see Clipboard Operations.

See Also