Hi, I have a scenario where I will initialize the Ribbon in XAML but its relatd Tab, group, buttons etc., needs to be coming from VM file , meaning there will be a public property of Ribbon which needs to be set back to the Ribbon that was initialized in
XAML like ( I am using WPF provided Ribbon control only)
Name="mainRibbon" ... >
// Above XAML I need to set the RibbonControl which is a public property (having the tabs, gropping, buttons etc.,
// Since WPF ribbion doesn't have ItemsSource I am struggling to set this ...
In the VM file
private Ribbon _RibbonControl;
CreateRibbon() //This functon will creates tabs, groups, buttons etc., & adds to _RibbonControl
Any help here is greatly appreciated.
View Complete Post