Hi
I want to use the xamRibbon inside my WPF/SCSF application. Any suggestions on how to best work with it?
Kr
George
Hi George -
Can you be more specific about the advice you are looking for?
Basically the xamRibbon is like any other WPF control - you can use the VS2008 forms designer to create an instance of the control on a form by dragging the xamRibbon from the VS2008 toolbox to the form. You can also add the control manually to the form by editing the form's XAML directly.
If you use the xamRibbon with a regular WPF window, the Ribbon will sit inside the bounds of the window (i.e., in the client area of the form) and will not 'merge itself' into the Window's caption as the ribbon in Office 2007 applications does. To address this we have also included a special form class call xamRibbonWindow which you can use instead of a standard WPF form. The xamRibbonWindow and the xamRibbon are smart enough to work together to allow the xamRibbon to 'merge itself' into the form's caption area. (Note that in order to use the xamRibbonWindow you will need to manually edit the standard form's XAML file to change the Window tag to a xamRibbonWindow tag since VS2008 does not allow you to create forms by dragging them from the toolbox. In the shipping product we will include a VS template for adding a new xamRibbonWindow to the project).
Hope this helps.
Joe Modica
Re-reading your post I realize your asking about Smart Client Solution Framework. If you are looking to use the xamRibbon in a CAB scenario, this is not currently possible. We have not yet written wrappers for our WPF controls as we have for our WindowsForms controls.
If you would like to see support for SCSF in our WPF controls, please submit a suggestion here: http://devcenter.infragistics.com/Protected/RequestFeature.aspx
Thx.
Hi Joe
Thanks. I'm just trying to find the best way to create a menu system using WPF inside a SCSF application. I really don't want to mix WinForms and WPF components so if I can get something working I'll be happy.
Well be sure to submit the feature request - we definitely pay attention to customer requests when scheduling/prioritizing new features and updates.