none
How to format Labels on dynamicMenu for MS-Customui? RRS feed

  • Question

  • Hi Have this code block. I know this would be easy for some, but I am new to this so here is the question. How do I write it so the labels will have an underline on one character? Ex: "Engineering Function Wizards"

    Thanks you very much in advance!

                    

    public string OnGetContent(IRibbonControl control)
            {
                var menuXml = @"
            <menu xmlns='http://schemas.microsoft.com/office/2006/01/customui' itemSize='normal'>
                <dynamicMenu id='EngFuncWizButton'
                        label='Engineering Function Wizards'
                        getContent='OnEngFuncWiz'/>

                <dynamicMenu id='ReFracButton'
                        label='ReFrac™'
                        getContent='OnReFrac'/>

                <dynamicMenu id='HexMonButton'
                            label='HexMon'
                            getContent='OnHexMon'/>

            </menu>";

                return menuXml;
            }


    Friday, February 8, 2019 5:32 AM