Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1435
DataPresenterExcelExporter Export Method
posted

Hello,

I have a XamRibbonGroup with a ButtonTool that binds to an ICommand in the ViewModel. This command would execute the DataPresenterExcelExporter.Export.

However this builtin method needs a reference to the XamDataGrid (DataPresenterBase)in order to export the data.

How can I reference the XamDataGrid using MVVM from the Command ?

Thank you

Parents Reply Children