I am building a Silverlight front-end for an application that was initially coded for WPF using some of the design guidelines from Microsoft Patterns & Practices' Prism (Composite Application Guidance for WPF and Silverlight). We made heavy use of XamDataPresenter in WPF flavor and I am trying to reuse as much code as possible in Silverlight. Could you please help me understand what my options are when it comes to porting this code to silverlight. Is there a silverlight equivalent of XamDataPresenter or what approach should I take to share as much code between the two front-ends as I possibly can - even if that means I have to refactor or recode some parts of WPF version (but not a complete overhaul).
Hello,
There are no built-in commands for that at this point. If you want you can submit a featrue request on our website: http://devcenter.infragistics.com/Protected/RequestFeature.aspxin order to see them in one of our future releases.
Regards Petar.
I am specifically looking for silverlight alternatives for DataPresenterCommands - undo, redo, copy etc. Any guidelines?
Hello ,
Just checking if Alex’ reply helped you out and if you require any further assistance on the matter.
Sincerely,
Petar Monov
Developer Support Engineer
Infragistics Bulgaria
www.infragistics.com/support
The closest alternative to the XamDataPresenter (assuming you are using the DataGrid view) is the XamGrid. Although the XamDataPresenter and the XamGrid have very similar features and functionalities they are built differently. They use different editors, different settings, different embedded presenters/controls.