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.
I am currently trying to yank the win forms out of my application as well.
I have a ribbon application with a dock manager at this point.
The real problem I have is that there is no Ribbon UI Element factory.
Has anyone written one of those and are they willing to share?
Is Infragistics working on something like that?
I would really like to have WinForms removed. Now that I have been working with WPF for a while, WinForms seems so archaic to me.
Thanks
Dimitar Atanasov
I really like the XamRibbon
I haven't looked that closely at the WPF support within the SCSF but I would think it should be possible to write wrappers around the XamRibbon to integrate it with the SCSF as you could with other WPF controls. However, currently we do not have any such wrappers available.
Are you sure it isn't possible at all ?
Maybe not fully fledged , .....
Well be sure to submit the feature request - we definitely pay attention to customer requests when scheduling/prioritizing new features and updates.