aspnet-devexpress-dot-web-dot-aspxfilemanager-88aef186.md
Allows the tooltip for the current FileManager item to be customized.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public event FileManagerCustomTooltipEventHandler CustomTooltip
Public Event CustomTooltip As FileManagerCustomTooltipEventHandler
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. |
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.
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