New to Telerik UI for WPFStart a free 30-day trial

DataContext of the Export Elements

Updated over 6 months ago

Each of the export events exposes a property which holds the DataContext for this particular ExportElement. Here is a breakdown of all the possible contexts:

  • GridViewRow: The context of the Row export element.
  • GridViewHeaderRow: The context of the HeaderRow export element.
  • GridViewDataColumn: The context of the HeaderCell, GroupFooterCell, FooterCell and Cell export elements.
  • GroupingImpl<TGroupKey, TItem>: The context of the GroupHeaderRow, GroupHeaderCell and GroupFooterRow export elements.
  • GridViewFooterRow: The context of the FooterRow export element.

You can use these contexts to conditionally style and format the exported elements.

See Also

In this article
See Also
Not finding the help you need?
Contact Support