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

BaseMenuItem.LeftIcon Property

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

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

Property Value

NavigationItemImages

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

The property is read / write.

Remarks

LeftIcon property contains a collection of images that are displayed left to the Text or CustomItem in an item. When the item switches to a different state, EO.Web control automatically switches to the corresponding left 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. Besides this property, CustomItem, Text and RightIcon will all be ignored.

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

See Also

BaseMenuItem Class | EO.Web Namespace | NavigationItemImages


Direct link to this topic