Click or drag to resize
KaxMenuItemImageUrl Property
Gets or sets the path to an image to display for the item.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public override string ImageUrl { get; set; }

Property Value

Type: String
The path to the image to display for the item. The default value is empty string.
Remarks
Use the ImageUrl property to specify the image for the item. If the ImageUrl property is set to empty string no image will be rendered. Use "~" (tilde) when referring to images within the current ASP.NET application.
Examples

The following example demonstrates how to specify the image to display for the item using the ImageUrl property.

<kettic:KaxMenu id="KaxMenu1" runat="server">
<Items>
<kettic:KaxMenuItem ImageUrl="~/Img/inbox.gif" Text="Index" />
<kettic:KaxMenuItem ImageUrl="~/Img/outbox.gif" Text="Outbox" />
</Items>
</kettic:KaxMenu>

See Also