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.
topicbar.ItemStyle.ImageUrl = "~/Images/house.gif"
topicbar.ItemStyle.ItemImagePosition = ItemImagePositionEnum.Top
• C#
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 |
|
|
|