none
Special characters in Custom UI Editor XML RRS feed

  • Question

  • Hi I am creating a new custom ribbon using the Custom UI Editor and building the XML. I would like to add a bullet icon to the label of one of my buttons. Is it possible to do this or will I have to use an icon?

    Thanks

    Tuesday, November 8, 2016 3:38 PM

Answers

  • Hi Dan Rooney,

    you cant add bullet but you can add the icons.

    also you can add your custom icon in which you can create bullet.

    to add icon you need to use "imageMso".

    example code mentioned below.

    <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
    	<ribbon startFromScratch="false">
    		<tabs>
    			<tab id="customTab" label="Custom Tab">
    				<group id="customGroup" label="Custom Group">
    					<button id="customButton" label="Custom Button" imageMso="HappyFace" size="large" onAction="Callback" />
    				</group>
    			</tab>
    		</tabs>
    	</ribbon>
    </customUI>
     

    Output:

    please visit the link mentioned below in which you can find how to add custom icons.

    Add a Custom Icon using custom ui code editor

    go to the "Add custom icon" paragraph in above mentioned link.

    Regards

    Deepak


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    Wednesday, November 9, 2016 7:57 AM
    Moderator