Xceed DataGrid for WPF v7.2 Documentation
ExportToExcel(Stream) Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridControl Class > ExportToExcel Method : ExportToExcel(Stream) Method
The stream to which to export the content of the grid.
Exports the content of the grid in the Excel xmlss format to the specified stream.
Syntax
'Declaration
 
Public Overloads Sub ExportToExcel( _

   ByVal stream As Stream _

) 
'Usage
 
Dim instance As DataGridControl

Dim stream As Stream

 

instance.ExportToExcel(stream)
public void ExportToExcel( 

   Stream stream

)

Parameters

stream
The stream to which to export the content of the grid.
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataGridControl Class
DataGridControl Members
Overload List

DataGrid Fundamentals

Exporting