I'm trying to customise the ToggleButtonTool styles, following the information in https://es.infragistics.com/community/forums/f/ultimate-ui-for-wpf/90926/togglebuttontool-style, but when try to copy the ControlTemplate from the latest RibbonGeneric.xaml file into the resources for the window or even just the button group containing the buttons that I want to restyle, I get two errors:
Error XDG0006 AncestorType must be specified for RelativeSource in FindAncestor mode.Error XLS0432 The property 'Ribbon' was not found in type 'igRibbon:XamRibbon'.
What am I missing? I'm sure that it must be something obvious, but I can't see it!
I would post some code if that helps, but I'm not sure how much you need to see
Thanks
Andy
Hello Andy ,
Not sure what it could be but did you try running Stefan sample?
I tried and its working all correct to me . If you dint try to run the sample due to version difference ,here i attached the sample build against V21.1.
Let me know if this sample helped.
1563.WpfApplication1.zip