Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

BaseMenuItem.RightIcon Property

Gets or sets a collection of right icon image URLs displayed in an item for different states.

[Visual Basic]
Public Property RightIcon As NavigationItemImages
[C#]
public NavigationItemImages RightIcon {get; set;}

Property Value

NavigationItemImages

A set of image URLs that will be displayed right to the text in an item for different states.

The property is read / write.

Remarks

This property contains a collection of images that are displayed right to the Text or CustomItem in an item. When the item switches to a different state, EO.Web control automatically switches to the corresponding right icon image for the state. See item states for details.

This property is ignored if the item is configured as an image-only item, in which case the URL specified by Image property will be displayed as the only content of the item. Besides this property, CustomItem, Text and RightIcon will all be ignored.

For an EO.Web Menu control, right icon can also be used as sub menu icon to indicate if a menu item has sub menu. You have two approaches to define a sub menu icon:

  • To define the URL for the whole Menu, use Menu's SubMenuIconUrl property.
  • To define the URL for individual item, use MenuItem's SubMenuIcon and this property to specify right icon as sub menu icon. See SubMenuIcon property for details.

Tip:  You can define different URLs for different states. E.g, RightIcon.HoverUrl specifies the URL to display when mouse hovers over the item. If no URL is defined for a certain state, RightIcon.Url will be used as default.

See Also

BaseMenuItem Class | EO.Web Namespace | NavigationItemImages


Direct link to this topic