ComponentOne Menu for ASP.NET Web Forms
Task-Based Help / Adding Icons to C1Menu Items
In This Topic
    Adding Icons to C1Menu Items
    In This Topic

    The iconClass property allows you to show icons in the C1Menu control. This topic illustrates adding icons to the control.

    The following icons are shown in this help:

    Icon Name Icon Icon markup
    arrowthick ui-icon ui-icon-arrowthick-1-w
    arrowrefresh ui-icon ui-icon-arrowrefresh-1-s
    comment ui-icon ui-icon-comment
    person ui-icon ui-icon-person
    trash ui-icon ui-icon-trash
    bookmark ui-icon ui-icon-bookmark"
    clock ui-icon ui-icon-clock
    minusthick ui-icon ui-icon-minusthick

    In Source View

    1. In Source View, add the following markup to the first <cc1:C1MenuItem> tag:

      IconClass="ui-icon ui--icon-arrowthick-1-w"
    2. Continue adding the markup for the icons to the rest of the c1menuitem.
    3. When you run your application, it will resemble the following image: