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
I'm trying to do just this:
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
But when I drop a xam ribbon onto a xamRibbonWindow - it doesn't automatically merge itself - am I missing a trick?
thanks
Andy
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.