Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

#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 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