ComponentOne WebMenus and WebBars for ASP.NET (2.0) Search HelpCentral 

ItemImagePosition Property

The ItemImagePosition property specifies the position of an image relative to the item's text. The ItemImagePosition property includes the following position values:

 

Item Image Postion Values

Bottom

NotSet

Far

TextOnly

ImageOnly

Top

Near

 

This example sets the ItemImagePosition property to Top.

·      Visual Basic

topicbar.ItemStyle.ImageUrl = "~/Images/house.gif"

topicbar.ItemStyle.ItemImagePosition = ItemImagePositionEnum.Top

·      C#

topicbar.ItemStyle.ImageUrl = "~/Images/house.gif";

topicbar.ItemStyle.ItemImagePosition = ItemImagePositionEnum.Top;

·      Delphi

topicbar.ItemStyle.ImageUrl := '~/Images/house.gif';

topicbar.ItemStyle.ItemImagePosition := ItemImagePositionEnum.Top;

 

 

This table below shows the remaining values for the ItemImagePosition property.

 

Bottom

Far

Image Only

Near

NotSet

TextOnly


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.