Skip to main content
A newer version of this page is available. .
Tab

ASPxFileManager.CustomTooltip Event

Allows the tooltip for the current FileManager item to be customized.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public event FileManagerCustomTooltipEventHandler CustomTooltip

Event Data

The CustomTooltip event's data class is FileManagerCustomTooltipEventArgs. The following properties provide information specific to this event:

Property Description
Item Provides the File Manager’s item to which the custom tooltip is specified.
TooltipText Gets or sets a value that is the custom tooltip text.

Remarks

The FileManagerCustomTooltipEventArgs.Item property passed to the event handler allows you to determine the FileManager item being processed. To specify the tooltip text, use the FileManagerCustomTooltipEventArgs.TooltipText property.

ASPxFileManager-CustomTooltip

protected void ASPxFileManager1_CustomTooltip(object source, DevExpress.Web.FileManagerCustomTooltipEventArgs e) {
    e.TooltipText = string.Format("Custom tooltip for {0} with name \"{1}\"", e.Item is FileManagerFile ? "file" : "folder", e.Item.Name); 
}
See Also