Hi
I want to use the xamRibbon inside my WPF/SCSF application. Any suggestions on how to best work with it?
Kr
George
Actually you have to put a RibbonWindowContentHost as the Content (i.e. main element) of the XamRibbonWindow. Then set the XamRibbon as the value of the Ribbon property of the RibbonWindowContentHost. The FeatureBrowser has at least one example that uses a xamRibbonWindow that you can look at as an example and the help has an example under xamRibbonWindow and RibbonWindowContentHost.
http://help.infragistics.com/Help/NetAdvantage/WPF/2009.1/CLR3.X/html/Infragistics3.Wpf.Ribbon.v9.1~Infragistics.Windows.Ribbon.XamRibbonWindow.html
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
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.