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

GridClipboardDataProvider.GetData(ClipboardDataFormat, GridClipboardDataProviderOptions) Method

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

Namespace: DevExpress.XtraGrid.Views.Printing

Assembly: DevExpress.XtraGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

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