Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
450
Cannot add help button when using Scenic them
posted

I had been using the code snippet below from another post to add a help button to the ribbon

---

var tabControl = (XamTabControl)Infragistics.Windows.Utilities.GetDescendantFromType(ribbontypeof(XamTabControl), true);

if (tabControl != null)
{
   var btnHelp = new HelpButtonTool();
   tabControl.PostTabItemContent = btnHelp;
}

---

This had been working until we changed the Ribbon.Theme property to "Scenic" now the GetDescendantFromType returns null and we have lost the help button.

Parents Reply Children
No Data