Skip to main content

TreeListClipboardDataProvider.GetData(ClipboardDataFormat, GridClipboardDataProviderOptions) Method

Returns data for the clipboard in the specified format(s).

Namespace: DevExpress.Xpf.Grid.TreeList

Assembly: DevExpress.Xpf.Grid.v24.1.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public DataObject GetData(
    ClipboardDataFormat format,
    GridClipboardDataProviderOptions options
)

Parameters

Name Type Description
format DevExpress.XtraExport.Helpers.ClipboardDataFormat

A combination of values that specify data formats.

options DevExpress.Xpf.Grid.Printing.GridClipboardDataProviderOptions

An object that contains a set of options that specify whether to copy column headers, collapsed groups, and other elements to the clipboard.

Returns

Type Description
DataObject

An object that specifies data that should be passed to the clipboard.

See Also