Skip to main content
Tab

ImagePropertiesBase.ToolTip Property

Gets or sets the image’s tooltip text.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("")]
public virtual string ToolTip { get; set; }

Property Value

Type Default Description
String String.Empty

A string which specifies the text content of the current image’s tooltip.

Remarks

Use the ToolTip property to define a tooltip text for an individual image. If a string is assigned to an image’s ToolTip property, the tooltip is shown whenever the mouse cursor pauses over the image. If the ToolTip property is set to an empty string (String.Empty), the tooltip is never shown.

Example

ASPxMenu:

<dx:ASPxMenu ID="Menu" runat="server" ...>
    <Items>
        ...
        <dx:MenuItem Text="Meat & Poultry" ToolTip="Meat & Poultry">
            <Image ToolTip="Sample Text" />
        </dx:MenuItem>
        ...
    </Items>
</dx:ASPxMenu>
See Also