Back to Devexpress

ClipboardRowCopyingEventArgsExtensions.WithColumnHeader(ClipboardRowCopyingEventArgs, Action<ClipboardHeaderInfoCollection>) Method

windowsforms-devexpress-dot-xtragrid-dot-views-dot-printing-dot-clipboardrowcopyingeventargsextensions-dot-withcolumnheader-x28-clipboardrowcopyingeventargs-action-clipboardheaderinfocollection-x29.md

latest2.3 KB
Original Source

ClipboardRowCopyingEventArgsExtensions.WithColumnHeader(ClipboardRowCopyingEventArgs, Action<ClipboardHeaderInfoCollection>) Method

Invokes the specified method that accepts the collection of column headers as a parameter.

Namespace : DevExpress.XtraGrid.Views.Printing

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

csharp
public static void WithColumnHeader(
    this ClipboardRowCopyingEventArgs args,
    Action<ClipboardHeaderInfoCollection> action
)
vb
<ExtensionAttribute>
Public Shared Sub WithColumnHeader(
    args As ClipboardRowCopyingEventArgs,
    action As Action(Of ClipboardHeaderInfoCollection)
)

Parameters

NameTypeDescription
argsClipboardRowCopyingEventArgs

The object extended with this method.

| | action | Action<DevExpress.XtraGrid.Views.Printing.ClipboardHeaderInfoCollection> |

The action that accepts the processed cell values, column or band headers, group row header, or summaries in the group row.

|

See Also

ClipboardRowCopyingEventArgsExtensions Class

ClipboardRowCopyingEventArgsExtensions Members

DevExpress.XtraGrid.Views.Printing Namespace